Class WebHostFeatureManager
Manager of the web host features.
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.ServiceStack.Application
Assembly: Kephas.ServiceStack.dll
Syntax
[ProcessingPriority(Priority.Low)]
[FeatureInfo("WebHost", null, false, null)]
public class WebHostFeatureManager : FeatureManagerBase, ILoggable, IFeatureManager, IAsyncInitializable, IAsyncFinalizable
Constructors
| Improve this Doc View SourceWebHostFeatureManager(IExportFactory<IWebHost>)
Initializes a new instance of the WebHostFeatureManager class.
Declaration
public WebHostFeatureManager(IExportFactory<IWebHost> webHostFactory)
Parameters
Type | Name | Description |
---|---|---|
IExportFactory<IWebHost> | webHostFactory | The web host factory. |
Methods
| Improve this Doc View SourceFinalizeCoreAsync(IAppContext, CancellationToken)
Finalizes the feature asynchronously.
Declaration
protected override Task FinalizeCoreAsync(IAppContext appContext, CancellationToken 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 SourceInitializeCoreAsync(IAppContext, CancellationToken)
Initializes the application asynchronously.
Declaration
protected override Task InitializeCoreAsync(IAppContext appContext, CancellationToken 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. |