Show / Hide Table of Contents

Class InteractionApplicationLifecycleBehavior

An interaction application lifecycle behavior.

Inheritance
System.Object
InteractionApplicationLifecycleBehavior
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.Interaction
Assembly: Kephas.Core.dll
Syntax
[ProcessingPriority(Priority.High)]
public class InteractionApplicationLifecycleBehavior : IAppLifecycleBehavior

Constructors

| Improve this Doc View Source

InteractionApplicationLifecycleBehavior(IEventHub)

Initializes a new instance of the InteractionApplicationLifecycleBehavior class.

Declaration
public InteractionApplicationLifecycleBehavior(IEventHub eventHub)
Parameters
Type Name Description
IEventHub eventHub

The event hub.

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.

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.

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