Table of Contents

Class ExtendedActionContext<TContext>

Namespace
CMS.Base
Assembly
CMS.Base.dll

Base class for the extended action context

public abstract class ExtendedActionContext<TContext> : AbstractActionContext<TContext>, IDataContainer, ISimpleDataContainer, IContext, IVirtualHierarchicalObject, IHierarchicalObject, INameIndexable, ICloneThreadItem where TContext : ExtendedActionContext<TContext>, new()

Type Parameters

TContext
Inheritance
object
AbstractContext<TContext>
ExtendedActionContext<TContext>
Implements
Inherited Members
Extension Methods

Properties

ActionContext

Action context

public CMSActionContext ActionContext { get; set; }

Property Value

CMSActionContext

AllowAsyncActions

Indicates if the actions can run asynchronously. Default is true, if the application is web site, otherwise false.

public bool AllowAsyncActions { set; }

Property Value

bool

AllowInitUser

Indicates if the current user should be initialized.

public bool AllowInitUser { set; }

Property Value

bool

DeletePhysicalFiles

Indicates whether a physical files should be deleted for meta files and media files.

public bool DeletePhysicalFiles { set; }

Property Value

bool

Disconnected

Indicates if the objects within current context should behave as disconnected

public bool Disconnected { set; }

Property Value

bool

EnableLogContext

Indicates whether logging through log context (LogContext) is currently enabled.

public bool EnableLogContext { set; }

Property Value

bool

LogEvents

Indicates if the events should be logged.

public bool LogEvents { set; }

Property Value

bool

LogWebFarmTasks

Indicates if the web farm tasks should be logged.

public bool LogWebFarmTasks { set; }

Property Value

bool

SendEmails

Indicates if email should be sent.

public bool SendEmails { set; }

Property Value

bool

TouchCacheDependencies

Indicates if the objects cache dependencies should be touched.

public bool TouchCacheDependencies { set; }

Property Value

bool

UpdateSystemFields

Indicates if the system fields should be updated.

public bool UpdateSystemFields { set; }

Property Value

bool

UpdateTimeStamp

Indicates if the objects time stamps should be updated.

public bool UpdateTimeStamp { set; }

Property Value

bool

UseGlobalAdminContext

Indicates if global admin context should be used.

public bool UseGlobalAdminContext { set; }

Property Value

bool

User

User of the context.

public IUserInfo User { set; }

Property Value

IUserInfo

Methods

DisableAll()

Disables logging for event log, web farm tasks and cache dependencies Disables timestamp update Disables object invalidation Disables cache usage Disables asynchronous actions Disables sending of emails

public void DisableAll()

DisableLogging()

Disables logging of event log.

public void DisableLogging()

Dispose()

Disposes the object

public override void Dispose()