ApplicationContextManager for WPF applications More...
Public Member Functions | |
override IPrincipal | GetUser () |
Gets the current principal. More... | |
override void | SetUser (IPrincipal principal) |
Sets the current principal. More... | |
Public Member Functions inherited from Csla.Core.ApplicationContextManager | |
ContextDictionary | GetLocalContext () |
Gets the local context dictionary. More... | |
void | SetLocalContext (ContextDictionary localContext) |
Sets the local context dictionary. More... | |
ContextDictionary | GetClientContext (ApplicationContext.ExecutionLocations executionLocation) |
Gets the client context dictionary. More... | |
void | SetClientContext (ContextDictionary clientContext, ApplicationContext.ExecutionLocations executionLocation) |
Sets the client context dictionary. More... | |
Static Public Member Functions | |
static ApplicationContext | GetApplicationContext () |
Gets the current ApplicationContext. More... | |
Protected Member Functions | |
override void | OnApplicationContextSet () |
Method called when the ApplicationContext property has been set to a new value. More... | |
Additional Inherited Members | |
Properties inherited from Csla.Core.ApplicationContextManager | |
bool | IsStatefulContext [get] |
Gets a value indicating whether the context manager is stateful. More... | |
bool | IsValid [get] |
Returns a value indicating whether the context is valid. More... | |
ApplicationContext | ApplicationContext [getset] |
Gets or sets a reference to the current ApplicationContext. More... | |
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... | |
ApplicationContextManager for WPF applications
Definition at line 18 of file Csla.Xaml.Shared/ApplicationContextManager.cs.
|
static |
Gets the current ApplicationContext.
Definition at line 32 of file Csla.Xaml.Shared/ApplicationContextManager.cs.
|
virtual |
Gets the current principal.
Reimplemented from Csla.Core.ApplicationContextManager.
Definition at line 43 of file Csla.Xaml.Shared/ApplicationContextManager.cs.
|
protectedvirtual |
Method called when the ApplicationContext property has been set to a new value.
Reimplemented from Csla.Core.ApplicationContextManager.
|
virtual |
Sets the current principal.
principal | Principal object. |
Reimplemented from Csla.Core.ApplicationContextManager.
Definition at line 61 of file Csla.Xaml.Shared/ApplicationContextManager.cs.