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

Detailed Description

ApplicationContextManager for WPF applications

Definition at line 18 of file Csla.Xaml.Shared/ApplicationContextManager.cs.

Member Function Documentation

◆ GetApplicationContext()

static ApplicationContext Csla.Xaml.ApplicationContextManager.GetApplicationContext ( )
static

Gets the current ApplicationContext.

Definition at line 32 of file Csla.Xaml.Shared/ApplicationContextManager.cs.

◆ GetUser()

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

Gets the current principal.

Returns

Reimplemented from Csla.Core.ApplicationContextManager.

Definition at line 43 of file Csla.Xaml.Shared/ApplicationContextManager.cs.

◆ OnApplicationContextSet()

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

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)
virtual

Sets the current principal.

Parameters
principalPrincipal object.

Reimplemented from Csla.Core.ApplicationContextManager.

Definition at line 61 of file Csla.Xaml.Shared/ApplicationContextManager.cs.