C# 클래스 Setty.VsAddin.Code.SettyXmlBuilder

파일 보기 프로젝트 열기: paralect/setty 1 사용 예제들

공개 메소드들

메소드 설명
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