Метод | Описание | |
---|---|---|
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, |
Append the xmlData node to the web.config file
|
|
SampleXml ( ) : |
Returns a Sample XML Node In this case the Sample HTTP Module TimingModule
|
|
Test ( ) : bool |
Tests if the ImageProcessor HTTP module is added to web.config
|
|
Undo ( string packageName, |
Removes the xmlData node from the web.config file
|
Метод | Описание | |
---|---|---|
getAttribute ( |
Get a named attribute from xmlData root node
|
|
getAttributeDefault ( |
Get an optional named attribute from xmlData root node when attribute is unavailable, return the default value
|
|
getUser ( ) : umbraco.BusinessLogic.User |
Get the current user, or when unavailable admin user
|
public Execute ( string packageName, |
||
packageName | string | Name of the package that we install |
xmlData | The data that must be appended to the web.config file | |
Результат | bool |
public Undo ( string packageName, |
||
packageName | string | Name of the package that we install |
xmlData | The data that must be appended to the web.config file | |
Результат | bool |