Interface IPackageActionRunner
Namespace: Umbraco.Core.Packaging
Assembly: Umbraco.Core.dll
Syntax
public interface IPackageActionRunner
Methods
View SourceRunPackageAction(String, String, XElement, out IEnumerable<String>)
Runs the package action with the specified action alias.
Declaration
bool RunPackageAction(string packageName, string actionAlias, XElement actionXml, out IEnumerable<string> errors)
Parameters
Type | Name | Description |
---|---|---|
System.String | packageName | Name of the package. |
System.String | actionAlias | The action alias. |
System.Xml.Linq.XElement | actionXml | The action XML. |
System.Collections.Generic.IEnumerable<System.String> | errors |
Returns
Type | Description |
---|---|
System.Boolean |
UndoPackageAction(String, String, XElement, out IEnumerable<String>)
Undos the package action with the specified action alias.
Declaration
bool UndoPackageAction(string packageName, string actionAlias, XElement actionXml, out IEnumerable<string> errors)
Parameters
Type | Name | Description |
---|---|---|
System.String | packageName | Name of the package. |
System.String | actionAlias | The action alias. |
System.Xml.Linq.XElement | actionXml | The action XML. |
System.Collections.Generic.IEnumerable<System.String> | errors |
Returns
Type | Description |
---|---|
System.Boolean |