C# Class Upac.Core.Packager.Actions.MoveFile

Moves a file
Can be used for renaming as well
Inheritance: IPackageAction
Show file Open project: 1508/upac-for-umbraco

Public Methods

Method Description
Alias ( ) : string
Execute ( string packageName, XmlNode xmlData ) : bool
GetAttributeValueFromNode ( XmlNode node, string attributeName ) : string
SampleXml ( ) : XmlNode
Undo ( string packageName, XmlNode xmlData ) : bool

Private Methods

Method Description
GetSourceFileName ( XmlNode xmlData ) : string
GetTargetFileName ( XmlNode xmlData ) : string

Method Details

Alias() public method

public Alias ( ) : string
return string

Execute() public method

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

GetAttributeValueFromNode() public static method

public static GetAttributeValueFromNode ( XmlNode node, string attributeName ) : string
node System.Xml.XmlNode
attributeName string
return string

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