Class LegacyDialogHandler
This is used to replace the old umbraco.presentation.create.dialogHandler_temp class which is used to handle sections create/delete actions.
Inheritance
System.Object
Namespace:System.Dynamic.ExpandoObject
Assembly:umbraco.dll
Syntax
public static class LegacyDialogHandler
Remarks
We need to overhaul how all of this is handled which is why this is a legacy class http://issues.umbraco.org/issue/U4-1373
Methods
Create(HttpContextBase, User, String, Int32, String, Int32)
Declaration
public static string Create(HttpContextBase httpContext, User umbracoUser, string nodeType, int nodeId, string text, int typeId = 0)
Parameters
Type | Name | Description |
---|---|---|
System.Web.HttpContextBase | httpContext | |
umbraco.BusinessLogic.User | umbracoUser | |
System.String | nodeType | |
System.Int32 | nodeId | |
System.String | text | |
System.Int32 | typeId |
Returns
Type | Description |
---|---|
System.String |
Delete(HttpContextBase, User, String, Int32, String)
Declaration
public static void Delete(HttpContextBase httpContext, User umbracoUser, string nodeType, int nodeId, string text)
Parameters
Type | Name | Description |
---|---|---|
System.Web.HttpContextBase | httpContext | |
umbraco.BusinessLogic.User | umbracoUser | |
System.String | nodeType | |
System.Int32 | nodeId | |
System.String | text |