Public Member Functions | |
IPrincipal | GetUser () |
Gets the current principal. More... | |
void | SetUser (IPrincipal principal) |
Sets the current principal. More... | |
ContextDictionary | GetLocalContext () |
Gets the local context. More... | |
void | SetLocalContext (ContextDictionary localContext) |
Sets the local context. More... | |
ContextDictionary | GetClientContext (ApplicationContext.ExecutionLocations executionLocation) |
Gets the client context. More... | |
void | SetClientContext (ContextDictionary clientContext, ApplicationContext.ExecutionLocations executionLocation) |
Sets the client context. More... | |
ContextDictionary | GetGlobalContext () |
void | SetGlobalContext (ContextDictionary globalContext) |
IServiceProvider | GetDefaultServiceProvider () |
Gets the default IServiceProvider More... | |
void | SetDefaultServiceProvider (IServiceProvider serviceProvider) |
Sets the default IServiceProvider More... | |
IServiceProvider | GetServiceProvider () |
Gets the service provider for current scope More... | |
void | SetServiceProvider (IServiceProvider scope) |
Sets the service provider for current scope More... | |
Properties | |
bool | IsValid [get] |
bool | IsStatefulContext [get] |
ApplicationContext | ApplicationContext [getset] |
Properties inherited from Csla.Core.IContextManager | |
bool | IsStatefulContext [get] |
Gets a value indicating whether this context manager is used in a stateful context (e.g. More... | |
bool | IsValid [get] |
Gets a value indicating whether this context manager is valid for use in the current environment. More... | |
ApplicationContext | ApplicationContext [getset] |
Gets or sets a reference to the current ApplicationContext. More... | |
Definition at line 14 of file TestContextManager.cs.
ContextDictionary Csla.Test.AppContext.TestContextManager.GetClientContext | ( | ApplicationContext.ExecutionLocations | executionLocation | ) |
Gets the client context.
executionLocation |
Implements Csla.Core.IContextManager.
Definition at line 61 of file TestContextManager.cs.
IServiceProvider Csla.Test.AppContext.TestContextManager.GetDefaultServiceProvider | ( | ) |
Gets the default IServiceProvider
Definition at line 90 of file TestContextManager.cs.
ContextDictionary Csla.Test.AppContext.TestContextManager.GetGlobalContext | ( | ) |
Definition at line 73 of file TestContextManager.cs.
ContextDictionary Csla.Test.AppContext.TestContextManager.GetLocalContext | ( | ) |
Gets the local context.
Implements Csla.Core.IContextManager.
Definition at line 49 of file TestContextManager.cs.
IServiceProvider Csla.Test.AppContext.TestContextManager.GetServiceProvider | ( | ) |
Gets the service provider for current scope
Definition at line 108 of file TestContextManager.cs.
IPrincipal Csla.Test.AppContext.TestContextManager.GetUser | ( | ) |
Gets the current principal.
Implements Csla.Core.IContextManager.
Definition at line 33 of file TestContextManager.cs.
void Csla.Test.AppContext.TestContextManager.SetClientContext | ( | ContextDictionary | clientContext, |
ApplicationContext.ExecutionLocations | executionLocation | ||
) |
Sets the client context.
clientContext | Client context. |
executionLocation |
Implements Csla.Core.IContextManager.
Definition at line 68 of file TestContextManager.cs.
void Csla.Test.AppContext.TestContextManager.SetDefaultServiceProvider | ( | IServiceProvider | serviceProvider | ) |
Sets the default IServiceProvider
serviceProvider | IServiceProvider instance |
Definition at line 99 of file TestContextManager.cs.
void Csla.Test.AppContext.TestContextManager.SetGlobalContext | ( | ContextDictionary | globalContext | ) |
Definition at line 80 of file TestContextManager.cs.
void Csla.Test.AppContext.TestContextManager.SetLocalContext | ( | ContextDictionary | localContext | ) |
Sets the local context.
localContext | Local context. |
Implements Csla.Core.IContextManager.
Definition at line 56 of file TestContextManager.cs.
void Csla.Test.AppContext.TestContextManager.SetServiceProvider | ( | IServiceProvider | scope | ) |
Sets the service provider for current scope
scope | IServiceProvider instance |
Definition at line 117 of file TestContextManager.cs.
void Csla.Test.AppContext.TestContextManager.SetUser | ( | IPrincipal | principal | ) |
Sets the current principal.
principal | Principal object. |
Implements Csla.Core.IContextManager.
Definition at line 44 of file TestContextManager.cs.
|
getset |
Definition at line 31 of file TestContextManager.cs.
|
get |
Definition at line 29 of file TestContextManager.cs.
|
get |
Definition at line 24 of file TestContextManager.cs.