Class AspNetAppManager
An OWIN application manager.
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.AspNetCore.Application
Assembly: Kephas.Application.AspNetCore.dll
Syntax
[OverridePriority(Priority.BelowNormal)]
public class AspNetAppManager : DefaultAppManager, ILoggable, IAppManager
Constructors
| Improve this Doc View SourceAspNetAppManager(IAppRuntime, ICompositionContext, IServiceBehaviorProvider, ICollection<IExportFactory<IAppLifecycleBehavior, AppServiceMetadata>>, ICollection<IExportFactory<IFeatureManager, FeatureManagerMetadata>>, ICollection<IExportFactory<IFeatureLifecycleBehavior, FeatureLifecycleBehaviorMetadata>>)
Initializes a new instance of the AspNetAppManager class.
Declaration
public AspNetAppManager(IAppRuntime appRuntime, ICompositionContext compositionContext, IServiceBehaviorProvider serviceBehaviorProvider, ICollection<IExportFactory<IAppLifecycleBehavior, AppServiceMetadata>> appLifecycleBehaviorFactories, ICollection<IExportFactory<IFeatureManager, FeatureManagerMetadata>> featureManagerFactories, ICollection<IExportFactory<IFeatureLifecycleBehavior, FeatureLifecycleBehaviorMetadata>> featureLifecycleBehaviorFactories)
Parameters
Type | Name | Description |
---|---|---|
IAppRuntime | appRuntime | The application runtime. |
ICompositionContext | compositionContext | The composition context. |
IServiceBehaviorProvider | serviceBehaviorProvider | The service behavior provider. |
System.Collections.Generic.ICollection<IExportFactory<IAppLifecycleBehavior, AppServiceMetadata>> | appLifecycleBehaviorFactories | The application lifecycle behavior factories. |
System.Collections.Generic.ICollection<IExportFactory<IFeatureManager, FeatureManagerMetadata>> | featureManagerFactories | The feature manager factories. |
System.Collections.Generic.ICollection<IExportFactory<IFeatureLifecycleBehavior, FeatureLifecycleBehaviorMetadata>> | featureLifecycleBehaviorFactories | The feature lifecycle behavior factories. |
Methods
| Improve this Doc View SourceFinalizeAppAsync(IAppContext, CancellationToken)
Finaliyes the application asynchronously.
Declaration
public override Task FinalizeAppAsync(IAppContext appContext, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type | Name | Description |
---|---|---|
IAppContext | appContext | Context for the application. |
System.Threading.CancellationToken | cancellationToken | The cancellation token. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A Task. |
Overrides
| Improve this Doc View SourceInitializeAppAsync(IAppContext, CancellationToken)
Initializes the application asynchronously.
Declaration
public override Task InitializeAppAsync(IAppContext appContext, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type | Name | Description |
---|---|---|
IAppContext | appContext | Context for the application. |
System.Threading.CancellationToken | cancellationToken | The cancellation token. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A Task. |