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.Windows.ApplicationContextManager Class Reference

ApplicationContextManager for Windows Forms applications More...

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

Public Member Functions

 ApplicationContextManager ()
 Creates an instance of the type. More...
 
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...
 

Additional Inherited Members

- Protected Member Functions inherited from Csla.Core.ApplicationContextManager
virtual void OnApplicationContextSet ()
 Method called when the ApplicationContext property has been set to a new value. More...
 
- 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 Windows Forms applications

Definition at line 18 of file Csla.Windows/ApplicationContextManager.cs.

Constructor & Destructor Documentation

◆ ApplicationContextManager()

Csla.Windows.ApplicationContextManager.ApplicationContextManager ( )

Creates an instance of the type.

Definition at line 23 of file Csla.Windows/ApplicationContextManager.cs.

Member Function Documentation

◆ GetUser()

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

Gets the current principal.

Returns

Reimplemented from Csla.Core.ApplicationContextManager.

Definition at line 32 of file Csla.Windows/ApplicationContextManager.cs.

◆ SetUser()

override void Csla.Windows.ApplicationContextManager.SetUser ( IPrincipal  principal)
virtual

Sets the current principal.

Parameters
principalPrincipal object.

Reimplemented from Csla.Core.ApplicationContextManager.

Definition at line 50 of file Csla.Windows/ApplicationContextManager.cs.