C# Class ImageProcessor.Umbraco.PackageActions.AddConfigSections

This package action will Add a new HTTP Module to the web.config file.
This package action has been customized from the PackageActionsContrib Project. http://packageactioncontrib.codeplex.com
Inheritance: IPackageAction
Afficher le fichier Open project: JimBobSquarePants/ImageProcessor.Umbraco

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

Executes the specified package name.

SampleXml ( ) : XmlNode

Returns a Sample XML Node

Undo ( string packageName, XmlNode xmlData ) : bool

Undoes the specified package name.

Private Methods

Méthode Description
AddSectionToSectionGroup ( ConfigurationSectionGroup sectionGroup, string name, ConfigurationSection section ) : void

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

Executes the specified package name.
public Execute ( string packageName, XmlNode xmlData ) : bool
packageName string Name of the package.
xmlData System.Xml.XmlNode The XML data.
Résultat bool

SampleXml() public méthode

Returns a Sample XML Node
public SampleXml ( ) : XmlNode
Résultat System.Xml.XmlNode

Undo() public méthode

Undoes the specified package name.
public Undo ( string packageName, XmlNode xmlData ) : bool
packageName string Name of the package.
xmlData System.Xml.XmlNode The XML data.
Résultat bool