C# Класс Microsoft.Setty_Vs12Addin.Code.SettyXmlBuilder

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

AddSettyPostBuildPartIntoProjectFile() публичный Метод

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
Результат void

CreateConfigXmlOfProject() публичный Метод

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
Результат System.Xml.XmlElement

CreateEmptySettingsFile() публичный Метод

public CreateEmptySettingsFile ( string pathToSettings ) : void
pathToSettings string
Результат void

GetSettyProjectXml() публичный Метод

public GetSettyProjectXml ( XmlDocument xmlDoc, string relativePathToSetty ) : XmlElement
xmlDoc System.Xml.XmlDocument
relativePathToSetty string
Результат System.Xml.XmlElement

IncludeConfigIntoProjFile() публичный Метод

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
Результат void

WrapSettyConfigWithXslt() публичный Метод

Wrap config xml with xslt when generate setty xslt config from *.config
public WrapSettyConfigWithXslt ( string originalConfig, string settyConfig ) : void
originalConfig string
settyConfig string
Результат void