CSLA .NET 10.0.0
A home for your business logic
Loading...
Searching...
No Matches
Csla.Xaml.ApplicationContextManager(SecurityOptions securityOptions) Class Reference

ApplicationContextManager for WPF applications. More...

Inheritance diagram for Csla.Xaml.ApplicationContextManager:
Csla.Core.ApplicationContextManager Csla.Core.IContextManager

Public Member Functions

override IPrincipal GetUser ()
 Gets the current principal.
override void SetUser (IPrincipal principal)
 Sets the current principal.
Parameters
principalPrincipal object.
Exceptions
ArgumentNullExceptionprincipal is null.

Public Member Functions inherited from Csla.Core.ApplicationContextManager
IContextDictionaryGetLocalContext ()
 Gets the local context dictionary.
void SetLocalContext (IContextDictionary? localContext)
 Sets the local context dictionary.
IContextDictionaryGetClientContext (ApplicationContext.ExecutionLocations executionLocation)
 Gets the client context dictionary.
void SetClientContext (IContextDictionary? clientContext, ApplicationContext.ExecutionLocations executionLocation)
 Sets the client context dictionary.

Static Public Member Functions

static ApplicationContext GetApplicationContext ()
 Gets the current ApplicationContext.

Protected Member Functions

override void OnApplicationContextSet ()
 Method called when the ApplicationContext property has been set to a new value.

Additional Inherited Members

Properties inherited from Csla.Core.ApplicationContextManager
bool IsStatefulContext [get]
 Gets a value indicating whether the context manager is stateful.
bool IsValid [get]
 Returns a value indicating whether the context is valid.
ApplicationContext? ApplicationContext [get, set]
 Gets or sets a reference to the current ApplicationContext.

Detailed Description

ApplicationContextManager for WPF applications.

Parameters
securityOptions

Member Function Documentation

◆ GetApplicationContext()

ApplicationContext Csla.Xaml.ApplicationContextManager.GetApplicationContext ( )
inlinestatic

Gets the current ApplicationContext.

◆ GetUser()

override IPrincipal Csla.Xaml.ApplicationContextManager.GetUser ( )
inlinevirtual

Gets the current principal.

Reimplemented from Csla.Core.ApplicationContextManager.

◆ OnApplicationContextSet()

override void Csla.Xaml.ApplicationContextManager.OnApplicationContextSet ( )
inlineprotectedvirtual

Method called when the ApplicationContext property has been set to a new value.

Reimplemented from Csla.Core.ApplicationContextManager.

◆ SetUser()

override void Csla.Xaml.ApplicationContextManager.SetUser ( IPrincipal principal)
inlinevirtual

Sets the current principal.

Parameters
principalPrincipal object.
Exceptions
ArgumentNullExceptionprincipal is null.

Reimplemented from Csla.Core.ApplicationContextManager.


The documentation for this class was generated from the following file: