Show / Hide Table of Contents

Class PreserveCultureThreadContextAppLifecycleBehavior

Feature manager configuring the ThreadContextAwaiter to preserve the thread culture.

Inheritance
System.Object
PreserveCultureThreadContextAppLifecycleBehavior
Implements
IAppLifecycleBehavior
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Kephas.Application
Assembly: Kephas.Core.dll
Syntax
[ProcessingPriority(Priority.Highest)]
public class PreserveCultureThreadContextAppLifecycleBehavior : IAppLifecycleBehavior

Methods

| Improve this Doc View Source

AfterAppFinalizeAsync(IContext, CancellationToken)

Interceptor called after the application completes its asynchronous finalization.

Declaration
public Task AfterAppFinalizeAsync(IContext appContext, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type Name Description
IContext appContext

Context for the application.

System.Threading.CancellationToken cancellationToken

Optional. The cancellation token (optional).

Returns
Type Description
System.Threading.Tasks.Task

A Task.

| Improve this Doc View Source

AfterAppInitializeAsync(IContext, CancellationToken)

Interceptor called after the application completes its asynchronous initialization.

Declaration
public Task AfterAppInitializeAsync(IContext appContext, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type Name Description
IContext appContext

Context for the application.

System.Threading.CancellationToken cancellationToken

Optional. The cancellation token.

Returns
Type Description
System.Threading.Tasks.Task

The asynchronous result.

| Improve this Doc View Source

BeforeAppFinalizeAsync(IContext, CancellationToken)

Interceptor called before the application starts its asynchronous finalization.

Declaration
public Task BeforeAppFinalizeAsync(IContext appContext, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type Name Description
IContext appContext

Context for the application.

System.Threading.CancellationToken cancellationToken

Optional. The cancellation token (optional).

Returns
Type Description
System.Threading.Tasks.Task

A Task.

| Improve this Doc View Source

BeforeAppInitializeAsync(IContext, CancellationToken)

Interceptor called before the application starts its asynchronous initialization.

Declaration
public Task BeforeAppInitializeAsync(IContext appContext, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type Name Description
IContext appContext

Context for the application.

System.Threading.CancellationToken cancellationToken

Optional. The cancellation token.

Returns
Type Description
System.Threading.Tasks.Task

The asynchronous result.

Implements

IAppLifecycleBehavior

Extension Methods

DynamicObjectExtensions.SetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.GetPropertyValue(Object, String)
DynamicObjectExtensions.TryGetPropertyValue(Object, String, out Object)
DynamicObjectExtensions.GetRuntimeTypeInfo(Object)
DynamicObjectExtensions.ToDynamic(Object)
DynamicObjectExtensions.ToExpando(Object)
BehaviorValue.ToBehaviorValue<TValue>(TValue)
CollectionExtensions.AddRange<T, TItem>(T, IEnumerable<TItem>)
LoggingExtensions.GetLogger(Object, IContext)
TypeExtensions.GetAbstractType(Object)
TypeExtensions.GetAbstractTypeInfo(Object)
ReflectionHelper.GetTypeInfo(Object)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX