Class TaskBase
Base class for tasks in the user interfaces
Implements
Inherited Members
Namespace: EPiServer.Util.PlugIns
Assembly: EPiServer.dll
Version: 8.11.0Syntax
public abstract class TaskBase : UserControlBase, IRenderSettings
Constructors
TaskBase()
Declaration
protected TaskBase()
Properties
CurrentTask
The current task
Declaration
protected Task CurrentTask { get; set; }
Property Value
| Type | Description |
|---|---|
| Task |
IsAssignedTo
Check if the current user is assigned to the task
Declaration
protected bool IsAssignedTo { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
IsOwner
Check if the current user is the owner of the task
Declaration
protected bool IsOwner { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Methods
AccessDenied()
Helper method to send an access denied message
Declaration
protected void AccessDenied()
NewTask()
Create a new task
Declaration
protected abstract Task NewTask()
Returns
| Type | Description |
|---|---|
| Task | An instance of the new task |
OnInit(EventArgs)
ASP.NET initialization of this control
Declaration
protected override void OnInit(EventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| System.EventArgs | e | The event arguments |