C# 클래스 ReadingAge.app.TransformXmlFile

Umbraco package action that transforms an XML file.
상속: IPackageAction
파일 보기 프로젝트 열기: rhythmagency/reading-age

공개 메소드들

메소드 설명
Alias ( ) : string

The alias of this package action.

Execute ( string packageName, XmlNode xmlData ) : bool

Transforms the XML file with the install transformation.

SampleXml ( ) : XmlNode

Sample XML that can be used to invoke this package action.

Undo ( string packageName, XmlNode xmlData ) : bool

Transforms the XML file with the uninstall transformation.

비공개 메소드들

메소드 설명
GetAttributeValue ( XmlNode xmlData, string attributeName ) : string

Gets the value of the specified attribute from the specified XML.

Transform ( XmlNode xmlData, string fileToTransform, bool install ) : void

Transforms the XML file.

메소드 상세

Alias() 공개 메소드

The alias of this package action.
public Alias ( ) : string
리턴 string

Execute() 공개 메소드

Transforms the XML file with the install transformation.
public Execute ( string packageName, XmlNode xmlData ) : bool
packageName string /// The package name. ///
xmlData System.Xml.XmlNode /// The package action XML data. ///
리턴 bool

SampleXml() 공개 메소드

Sample XML that can be used to invoke this package action.
public SampleXml ( ) : XmlNode
리턴 System.Xml.XmlNode

Undo() 공개 메소드

Transforms the XML file with the uninstall transformation.
public Undo ( string packageName, XmlNode xmlData ) : bool
packageName string /// The package name. ///
xmlData System.Xml.XmlNode /// The package action XML data. ///
리턴 bool