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, |
Append the xmlData node to the web.config file
|
|
SampleXml ( ) : |
Returns a Sample XML Node In this case the Sample HTTP Module TimingModule
|
|
Undo ( string packageName, System xmlData ) : bool |
Removes the xmlData node from the web.config file
|
Méthode | Description | |
---|---|---|
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 | |
Résultat | bool |
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 |