C# Class Optimus.Umbraco.Installer.AddUIPackageAction

Inheritance: IPackageAction
Exibir arquivo Open project: TimGeyssens/BundlingAndMinificationForTheMasses

Public Methods

Method Description
Alias ( ) : string

This Alias must be unique and is used as an identifier that must match the alias in the package action XML

Execute ( string packageName, XmlNode xmlData ) : bool

Append the xmlData nodes to the UI.xml file

SampleXml ( ) : XmlNode
Undo ( string packageName, XmlNode xmlData ) : bool

Private Methods

Method Description
getUser ( ) : umbraco.BusinessLogic.User

Method Details

Alias() public method

This Alias must be unique and is used as an identifier that must match the alias in the package action XML
public Alias ( ) : string
return string

Execute() public method

Append the xmlData nodes to the UI.xml file
public Execute ( string packageName, XmlNode xmlData ) : bool
packageName string Name of the package that we install
xmlData System.Xml.XmlNode The data that must be appended to the UI.xml file
return bool

SampleXml() public method

public SampleXml ( ) : XmlNode
return System.Xml.XmlNode

Undo() public method

public Undo ( string packageName, XmlNode xmlData ) : bool
packageName string
xmlData System.Xml.XmlNode
return bool