C# Class Optimus.Providers.V8JavaScriptEngine.Umbraco.Installer.RemoveLegacy

This package action removes the config section and x86 & x64 subfolders in the Noesis.Javascript folder as these were changed in V8 Engine Switcher v0.9.3
Inheritance: IPackageAction
Afficher le fichier Open project: TimGeyssens/BundlingAndMinificationForTheMasses

Méthodes publiques

Méthode 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 node to the web.config file

SampleXml ( ) : XmlNode

Returns a Sample XML Node In this case we are adding the System.Web.Optimization namespace

Undo ( string packageName, System xmlData ) : bool

Removes the xmlData node from the web.config file

Method Details

Alias() public méthode

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

Execute() public méthode

Append the xmlData node to the web.config 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 web.config file
Résultat bool

SampleXml() public méthode

Returns a Sample XML Node In this case we are adding the System.Web.Optimization namespace
public SampleXml ( ) : XmlNode
Résultat System.Xml.XmlNode

Undo() public méthode

Removes the xmlData node from the web.config file
public Undo ( string packageName, System xmlData ) : bool
packageName string Name of the package that we install
xmlData System The data that must be appended to the web.config file
Résultat bool