Class LegacyDialogTask
An abstract class that is used to implement all secure ITasks
Inheritance
System.Object
Namespace:System.Dynamic.ExpandoObject
Assembly:umbraco.dll
Syntax
[Obsolete("ITask is used for legacy webforms back office editors, change to using the v7 angular approach")]
public abstract class LegacyDialogTask : ITaskReturnUrl, ITask, IAssignedApp
Properties
AdditionalValues
Declaration
public IDictionary<string, object> AdditionalValues { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.IDictionary<System.String, System.Object> |
|
Alias
Declaration
public string Alias { get; set; }
Property Value
Type |
Description |
System.String |
|
AssignedApp
Declaration
public abstract string AssignedApp { get; }
Property Value
Type |
Description |
System.String |
|
ParentID
Declaration
public virtual int ParentID { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
ReturnUrl
Declaration
public abstract string ReturnUrl { get; }
Property Value
Type |
Description |
System.String |
|
TypeID
Declaration
public int TypeID { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
User
Gets/sets the user object for this Task
Declaration
protected User User { get; }
Property Value
Type |
Description |
umbraco.BusinessLogic.User |
|
Methods
Delete()
Base class first performs authentication for the current app before proceeding
Declaration
Returns
Type |
Description |
System.Boolean |
|
Declaration
public abstract bool PerformDelete()
Returns
Type |
Description |
System.Boolean |
|
Declaration
public abstract bool PerformSave()
Returns
Type |
Description |
System.Boolean |
|
Save()
Base class first performs authentication for the current app before proceeding
Declaration
Returns
Type |
Description |
System.Boolean |
|
ValidateUserForApplication()
Checks if the currently assigned user has access to the assigned app
Declaration
protected bool ValidateUserForApplication()
Returns
Type |
Description |
System.Boolean |
|