Provides access to the correct current application context manager instance depending on runtime environment. More...
Public Member Functions | |
ApplicationContextAccessor (IEnumerable< IContextManager > contextManagerList, IContextManagerLocal localContextManager, IServiceProvider serviceProvider) | |
Creates a new instance of the type. More... | |
IContextManager | GetContextManager () |
Gets a reference to the correct current application context manager instance depending on runtime environment. More... | |
Provides access to the correct current application context manager instance depending on runtime environment.
Definition at line 19 of file ApplicationContextAccessor.cs.
Csla.Core.ApplicationContextAccessor.ApplicationContextAccessor | ( | IEnumerable< IContextManager > | contextManagerList, |
IContextManagerLocal | localContextManager, | ||
IServiceProvider | serviceProvider | ||
) |
Creates a new instance of the type.
contextManagerList | |
localContextManager | |
serviceProvider |
Definition at line 27 of file ApplicationContextAccessor.cs.
IContextManager Csla.Core.ApplicationContextAccessor.GetContextManager | ( | ) |
Gets a reference to the correct current application context manager instance depending on runtime environment.
Definition at line 57 of file ApplicationContextAccessor.cs.