C# 클래스 AIT.Tools.VisualStudioTextTransform.DefaultVariableResolver

A default implementation of IVariableResolver returning simple paths.
상속: IVariableResolver
파일 보기 프로젝트 열기: AITGmbH/VisualStudioTextTransform 1 사용 예제들

공개 메소드들

메소드 설명
CreateFromDte ( DTE2 dte, string templateFile ) : DefaultVariableResolver

Create a default instance by fetching the paths from the solution.

DefaultVariableResolver ( string projectDir, string solutionDir, string targetDir ) : System

/

ResolveVariable ( string variable ) : IEnumerable

/

SimpleResolveVariable ( string variable ) : string

The simple resolution strategy of this instance.

WithTargetDir ( string targetDir ) : DefaultVariableResolver

Return a new instance with a changed TargetDir.

메소드 상세

CreateFromDte() 공개 정적인 메소드

Create a default instance by fetching the paths from the solution.
public static CreateFromDte ( DTE2 dte, string templateFile ) : DefaultVariableResolver
dte DTE2
templateFile string
리턴 DefaultVariableResolver

DefaultVariableResolver() 공개 메소드

/
public DefaultVariableResolver ( string projectDir, string solutionDir, string targetDir ) : System
projectDir string
solutionDir string
targetDir string
리턴 System

ResolveVariable() 공개 메소드

/
public ResolveVariable ( string variable ) : IEnumerable
variable string
리턴 IEnumerable

SimpleResolveVariable() 공개 메소드

The simple resolution strategy of this instance.
public SimpleResolveVariable ( string variable ) : string
variable string
리턴 string

WithTargetDir() 공개 메소드

Return a new instance with a changed TargetDir.
public WithTargetDir ( string targetDir ) : DefaultVariableResolver
targetDir string
리턴 DefaultVariableResolver