Class AppLayersMap
Application layers mapping to keep ordered registration of middlewares.
Inheritance
Namespace:InfinniPlatform.AspNetCore
Assembly:InfinniPlatform.Core.dll
Syntax
public class AppLayersMap : object
Constructors
| Improve this Doc View SourceAppLayersMap(IContainerResolver)
Declaration
public AppLayersMap(IContainerResolver resolver)
Parameters
Type | Name | Description |
---|---|---|
IContainerResolver | resolver |
Methods
| Improve this Doc View SourceAddAfterAuthenticationAppLayer(Type)
Adds user defined IAfterAuthenticationAppLayer.
Declaration
public void AddAfterAuthenticationAppLayer(Type appLayerType)
Parameters
Type | Name | Description |
---|---|---|
Type | appLayerType | Application layer instance type. |
AddAfterAuthenticationAppLayer<T>()
Adds user defined IAfterAuthenticationAppLayer.
Declaration
public void AddAfterAuthenticationAppLayer<T>()where T : class, IAppLayer
Type Parameters
Name | Description |
---|---|
T | Application layer instance type. |
AddAuthenticationBarrierAppLayer(Type)
Adds user defined IAuthenticationBarrierAppLayer.
Declaration
public void AddAuthenticationBarrierAppLayer(Type appLayerType)
Parameters
Type | Name | Description |
---|---|---|
Type | appLayerType | Application layer instance type. |
AddAuthenticationBarrierAppLayer<T>()
Adds user defined IAuthenticationBarrierAppLayer.
Declaration
public void AddAuthenticationBarrierAppLayer<T>()where T : class, IAppLayer
Type Parameters
Name | Description |
---|---|
T | Application layer instance type. |
AddBeforeAuthenticationAppLayer(Type)
Adds user defined IBeforeAuthenticationAppLayer.
Declaration
public void AddBeforeAuthenticationAppLayer(Type appLayerType)
Parameters
Type | Name | Description |
---|---|---|
Type | appLayerType | Application layer instance type. |
AddBeforeAuthenticationAppLayer<T>()
Adds user defined IBeforeAuthenticationAppLayer.
Declaration
public void AddBeforeAuthenticationAppLayer<T>()where T : class, IAppLayer
Type Parameters
Name | Description |
---|---|
T | Application layer instance type. |
AddBusinessAppLayer(Type)
Adds user defined IBusinessAppLayer.
Declaration
public void AddBusinessAppLayer(Type appLayerType)
Parameters
Type | Name | Description |
---|---|---|
Type | appLayerType | Application layer instance type. |
AddBusinessAppLayer<T>()
Adds user defined IBusinessAppLayer.
Declaration
public void AddBusinessAppLayer<T>()where T : class, IAppLayer
Type Parameters
Name | Description |
---|---|
T | Application layer instance type. |
AddErrorHandlingAppLayer(Type)
Adds user defined IErrorHandlingAppLayer.
Declaration
public void AddErrorHandlingAppLayer(Type appLayerType)
Parameters
Type | Name | Description |
---|---|---|
Type | appLayerType | Application layer instance type. |
AddErrorHandlingAppLayer<T>()
Adds user defined IErrorHandlingAppLayer.
Declaration
public void AddErrorHandlingAppLayer<T>()where T : class, IAppLayer
Type Parameters
Name | Description |
---|---|
T | Application layer instance type. |
AddExternalAuthenticationAppLayer(Type)
Adds user defined IExternalAuthenticationAppLayer.
Declaration
public void AddExternalAuthenticationAppLayer(Type appLayerType)
Parameters
Type | Name | Description |
---|---|---|
Type | appLayerType | Application layer instance type. |
AddExternalAuthenticationAppLayer<T>()
Adds user defined IExternalAuthenticationAppLayer.
Declaration
public void AddExternalAuthenticationAppLayer<T>()where T : class, IAppLayer
Type Parameters
Name | Description |
---|---|
T | Application layer instance type. |
AddGlobalHandlingAppLayer(Type)
Adds user defined IGlobalHandlingAppLayer.
Declaration
public void AddGlobalHandlingAppLayer(Type appLayerType)
Parameters
Type | Name | Description |
---|---|---|
Type | appLayerType | Application layer instance type. |
AddGlobalHandlingAppLayer<T>()
Adds user defined IGlobalHandlingAppLayer.
Declaration
public void AddGlobalHandlingAppLayer<T>()where T : class, IAppLayer
Type Parameters
Name | Description |
---|---|
T | Application layer instance type. |
AddInternalAuthenticationAppLayer(Type)
Adds user defined IInternalAuthenticationAppLayer.
Declaration
public void AddInternalAuthenticationAppLayer(Type appLayerType)
Parameters
Type | Name | Description |
---|---|---|
Type | appLayerType | Application layer instance type. |
AddInternalAuthenticationAppLayer<T>()
Adds user defined IInternalAuthenticationAppLayer.
Declaration
public void AddInternalAuthenticationAppLayer<T>()where T : class, IAppLayer
Type Parameters
Name | Description |
---|---|
T | Application layer instance type. |
GetMap()
Returns application layers map.
Declaration
public Dictionary<Type, List<IAppLayer>> GetMap()
Returns
Type | Description |
---|---|
Dictionary<Type, List<IAppLayer>> |