CSLA.NET 6.0.0
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
Csla.Core.ApplicationContextAccessor Class Reference

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...
 

Detailed Description

Provides access to the correct current application context manager instance depending on runtime environment.

Definition at line 19 of file ApplicationContextAccessor.cs.

Constructor & Destructor Documentation

◆ ApplicationContextAccessor()

Csla.Core.ApplicationContextAccessor.ApplicationContextAccessor ( IEnumerable< IContextManager contextManagerList,
IContextManagerLocal  localContextManager,
IServiceProvider  serviceProvider 
)

Creates a new instance of the type.

Parameters
contextManagerList
localContextManager
serviceProvider

Definition at line 27 of file ApplicationContextAccessor.cs.

Member Function Documentation

◆ GetContextManager()

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.