C# Class Microsoft.Setty_Vs12Addin.Code.SettyXmlBuilder

Mostra file Open project: paralect/setty Class Usage Examples

Public Methods

Method Description
AddSettyPostBuildPartIntoProjectFile ( string projectName, string pathToSetty, string pathToSettySettings ) : void

Add xml (to the project file) that automatically run setty.exe after each build

CreateConfigXmlOfProject ( XmlDocument xmlDoc, string originalConfigFileName, string settyFileName ) : XmlElement

Generate xml to include generated config into project, also make *.config 'DependentUpon' setty config Produce xml like this: App.config.xslt

CreateEmptySettingsFile ( string pathToSettings ) : void
GetSettyProjectXml ( XmlDocument xmlDoc, string relativePathToSetty ) : XmlElement

IncludeConfigIntoProjFile ( string activeProjectPath, string originalConfigFileName, string settyFileName ) : void

Include generated config into project, also make *.config 'DependentUpon' setty config

WrapSettyConfigWithXslt ( string originalConfig, string settyConfig ) : void

Wrap config xml with xslt when generate setty xslt config from *.config

Method Details

AddSettyPostBuildPartIntoProjectFile() public method

Add xml (to the project file) that automatically run setty.exe after each build
public AddSettyPostBuildPartIntoProjectFile ( string projectName, string pathToSetty, string pathToSettySettings ) : void
projectName string
pathToSetty string
pathToSettySettings string
return void

CreateConfigXmlOfProject() public method

Generate xml to include generated config into project, also make *.config 'DependentUpon' setty config Produce xml like this: App.config.xslt
public CreateConfigXmlOfProject ( XmlDocument xmlDoc, string originalConfigFileName, string settyFileName ) : XmlElement
xmlDoc System.Xml.XmlDocument Project file XmlDocument
originalConfigFileName string Original config file name
settyFileName string Setty config file name
return System.Xml.XmlElement

CreateEmptySettingsFile() public method

public CreateEmptySettingsFile ( string pathToSettings ) : void
pathToSettings string
return void

GetSettyProjectXml() public method

public GetSettyProjectXml ( XmlDocument xmlDoc, string relativePathToSetty ) : XmlElement
xmlDoc System.Xml.XmlDocument
relativePathToSetty string
return System.Xml.XmlElement

IncludeConfigIntoProjFile() public method

Include generated config into project, also make *.config 'DependentUpon' setty config
public IncludeConfigIntoProjFile ( string activeProjectPath, string originalConfigFileName, string settyFileName ) : void
activeProjectPath string path to the project file
originalConfigFileName string
settyFileName string
return void

WrapSettyConfigWithXslt() public method

Wrap config xml with xslt when generate setty xslt config from *.config
public WrapSettyConfigWithXslt ( string originalConfig, string settyConfig ) : void
originalConfig string
settyConfig string
return void