CSLA.NET 5.4.2
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

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 ()
 Gets the client context dictionary. More...
 
void SetClientContext (ContextDictionary clientContext)
 Sets the client context dictionary. More...
 
ContextDictionary GetGlobalContext ()
 Gets the global context dictionary. More...
 
void SetGlobalContext (ContextDictionary globalContext)
 Sets the global context dictionary. More...
 
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...
 

Additional Inherited Members

- Properties inherited from Csla.Core.ApplicationContextManager
bool IsValid [get]
 Returns a value indicating whether the context is valid. More...
 
- Properties inherited from Csla.Core.IContextManager
bool IsValid [get]
 Gets a value indicating whether this context manager is valid for use in the current environment. More...
 

Detailed Description

ApplicationContextManager for Windows Forms applications

Definition at line 18 of file Csla.Windows.Shared/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 26 of file Csla.Windows.Shared/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 44 of file Csla.Windows.Shared/ApplicationContextManager.cs.