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.Core.IContextManager Interface Reference

Defines the interface for an application context manager type. More...

Inheritance diagram for Csla.Core.IContextManager:
Csla.AspNetCore.ApplicationContextManagerHttpContext Csla.Blazor.WebAssembly.ApplicationContextManager Csla.Core.ApplicationContextManager Csla.Core.ApplicationContextManagerStatic Csla.Core.ApplicationContextManagerTls Csla.Core.IContextManagerLocal Csla.Test.AppContext.TestContextManager Csla.Web.ApplicationContextManager

Public Member Functions

IPrincipal GetUser ()
 Gets the current principal. More...
 
void SetUser (IPrincipal principal)
 Sets the current principal. More...
 
ContextDictionary GetLocalContext ()
 Gets the local context. More...
 
void SetLocalContext (ContextDictionary localContext)
 Sets the local context. More...
 
ContextDictionary GetClientContext (ApplicationContext.ExecutionLocations executionLocation)
 Gets the client context. More...
 
void SetClientContext (ContextDictionary clientContext, ApplicationContext.ExecutionLocations executionLocation)
 Sets the client context. More...
 

Properties

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

Defines the interface for an application context manager type.

Definition at line 17 of file IContextManager.cs.

Member Function Documentation

◆ GetClientContext()

◆ GetLocalContext()

◆ GetUser()

◆ SetClientContext()

◆ SetLocalContext()

◆ SetUser()

Property Documentation

◆ ApplicationContext

ApplicationContext Csla.Core.IContextManager.ApplicationContext
getset

Gets or sets a reference to the current ApplicationContext.

Definition at line 64 of file IContextManager.cs.

◆ IsStatefulContext

bool Csla.Core.IContextManager.IsStatefulContext
get

Gets a value indicating whether this
context manager is used in a stateful context (e.g.

WPF, Blazor, etc.)

Definition at line 24 of file IContextManager.cs.

◆ IsValid

bool Csla.Core.IContextManager.IsValid
get

Gets a value indicating whether this context manager is valid for use in the current environment.

Definition at line 31 of file IContextManager.cs.