C# 클래스 Dimi.InstantRDF.Installation.InstallAction

The custom installation actions of the InstantRDF package
상속: IPackageAction
파일 보기 프로젝트 열기: coding3d/InstantRDF 1 사용 예제들

공개 메소드들

메소드 설명
AddRuleToUrlRewritingConfig ( ) : bool

Adds the rule to URL rewriting config.

AddSettingsToWebConfig ( ) : bool

Adds the settings to web.config.

Alias ( ) : string

Returns the alias of this action.

Execute ( string packageName, System xmlData ) : bool

Executes the custom installation actions.

RemoveRuleFromUrlRewritingConfig ( ) : bool

Removes the rule from URL rewriting config.

RemoveSettingsFromWebConfig ( ) : bool

Removes the settings from web.config.

SampleXml ( ) : System.Xml.XmlNode

Returns a sample of the XML tag that needs to be entered into the package, in order to activate the action.

SetPreferredUrl ( ) : bool

Sets the preferred URL in config/InstantRDF.config.

Undo ( string packageName, System xmlData ) : bool

Undoes the custom installation actions.

비공개 메소드들

메소드 설명
CreateDatabaseTable ( ) : bool

Creates the database table.

DropDatabaseTable ( ) : bool

Drops the database table.

GetInstantRdfConfigPath ( ) : string

Gets the instant RDF config path.

GetUrlRewritingConfigPath ( ) : string

Gets the URL rewriting config path.

GetWebConfigPath ( ) : string

Gets the web.config path.

메소드 상세

AddRuleToUrlRewritingConfig() 공개 메소드

Adds the rule to URL rewriting config.
public AddRuleToUrlRewritingConfig ( ) : bool
리턴 bool

AddSettingsToWebConfig() 공개 메소드

Adds the settings to web.config.
public AddSettingsToWebConfig ( ) : bool
리턴 bool

Alias() 공개 메소드

Returns the alias of this action.
public Alias ( ) : string
리턴 string

Execute() 공개 메소드

Executes the custom installation actions.
public Execute ( string packageName, System xmlData ) : bool
packageName string Name of the package.
xmlData System The XML data.
리턴 bool

RemoveRuleFromUrlRewritingConfig() 공개 메소드

Removes the rule from URL rewriting config.
public RemoveRuleFromUrlRewritingConfig ( ) : bool
리턴 bool

RemoveSettingsFromWebConfig() 공개 메소드

Removes the settings from web.config.
public RemoveSettingsFromWebConfig ( ) : bool
리턴 bool

SampleXml() 공개 메소드

Returns a sample of the XML tag that needs to be entered into the package, in order to activate the action.
public SampleXml ( ) : System.Xml.XmlNode
리턴 System.Xml.XmlNode

SetPreferredUrl() 공개 메소드

Sets the preferred URL in config/InstantRDF.config.
public SetPreferredUrl ( ) : bool
리턴 bool

Undo() 공개 메소드

Undoes the custom installation actions.
public Undo ( string packageName, System xmlData ) : bool
packageName string Name of the package.
xmlData System The XML data.
리턴 bool