Show / Hide Table of Contents

Class FeatureManagerBase

Base class for application initializers providing an initialization monitor.

Inheritance
System.Object
Loggable
FeatureManagerBase
AspNetFeatureManagerBase
OrchestrationFeatureManager
WebHostFeatureManager
Implements
ILoggable
IFeatureManager
IAsyncInitializable
IAsyncFinalizable
Inherited Members
Loggable.Logger
Loggable.GetLogger()
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.Application.dll
Syntax
public abstract class FeatureManagerBase : Loggable, ILoggable, IFeatureManager, IAsyncInitializable, IAsyncFinalizable

Constructors

| Improve this Doc View Source

FeatureManagerBase()

Initializes a new instance of the FeatureManagerBase class.

Declaration
protected FeatureManagerBase()

Fields

| Improve this Doc View Source

FinalizationMonitor

The finalization monitor.

Declaration
protected readonly FinalizationMonitor<IFeatureManager> FinalizationMonitor
Field Value
Type Description
FinalizationMonitor<IFeatureManager>
| Improve this Doc View Source

InitializationMonitor

The initialization monitor.

Declaration
protected readonly InitializationMonitor<IFeatureManager> InitializationMonitor
Field Value
Type Description
InitializationMonitor<IFeatureManager>

Methods

| Improve this Doc View Source

FinalizeAsync(IAppContext, CancellationToken)

Finalizes the feature asynchronously.

Declaration
public Task FinalizeAsync(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.

| Improve this Doc View Source

FinalizeCoreAsync(IAppContext, CancellationToken)

Finalizes the feature asynchronously.

Declaration
protected virtual 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.

| Improve this Doc View Source

InitializeAsync(IAppContext, CancellationToken)

Initializes the feature asynchronously.

Declaration
public Task InitializeAsync(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.

| Improve this Doc View Source

InitializeCoreAsync(IAppContext, CancellationToken)

Initializes the feature asynchronously.

Declaration
protected virtual 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.

Explicit Interface Implementations

| Improve this Doc View Source

IAsyncFinalizable.FinalizeAsync(IContext, CancellationToken)

Finalizes the service.

Declaration
Task IAsyncFinalizable.FinalizeAsync(IContext context, CancellationToken cancellationToken)
Parameters
Type Name Description
IContext context

An optional context for finalization.

System.Threading.CancellationToken cancellationToken

The cancellation token.

Returns
Type Description
System.Threading.Tasks.Task

An asynchronous result.

| Improve this Doc View Source

IAsyncInitializable.InitializeAsync(IContext, CancellationToken)

Initializes the service asynchronously.

Declaration
Task IAsyncInitializable.InitializeAsync(IContext context, CancellationToken cancellationToken)
Parameters
Type Name Description
IContext context

An optional context for initialization.

System.Threading.CancellationToken cancellationToken

The cancellation token.

Returns
Type Description
System.Threading.Tasks.Task

An awaitable task.

Implements

ILoggable
IFeatureManager
IAsyncInitializable
IAsyncFinalizable

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