C# 클래스 Bari.Plugins.VsCore.VisualStudio.ProjectSections.MSBuildProjectSectionBase

Base class for IMSBuildProjectSection implementations
상속: IMSBuildProjectSection
파일 보기 프로젝트 열기: vigoo/bari

공개 메소드들

메소드 설명
Write ( XmlWriter writer, Project project, IMSBuildProjectGeneratorContext context ) : void

Writes the section using an XML writer

보호된 메소드들

메소드 설명
GetOutputPath ( IFileSystemDirectory targetDir, Project project ) : string
MSBuildProjectSectionBase ( Suite suite ) : System.IO

Initializes the .csproj section writer

ToProjectRelativePath ( Project project, string suiteRelativePath, SourceSetType sourceSetName ) : string

Converts a suite relative path to project relative

메소드 상세

GetOutputPath() 보호된 메소드

protected GetOutputPath ( IFileSystemDirectory targetDir, Project project ) : string
targetDir IFileSystemDirectory
project Project
리턴 string

MSBuildProjectSectionBase() 보호된 메소드

Initializes the .csproj section writer
protected MSBuildProjectSectionBase ( Suite suite ) : System.IO
suite Suite Active suite
리턴 System.IO

ToProjectRelativePath() 보호된 메소드

Converts a suite relative path to project relative
protected ToProjectRelativePath ( Project project, string suiteRelativePath, SourceSetType sourceSetName ) : string
project Project Project to be relative to
suiteRelativePath string Suite relative path
sourceSetName SourceSetType Source set name where the project being built stores its files
리턴 string

Write() 공개 추상적인 메소드

Writes the section using an XML writer
public abstract Write ( XmlWriter writer, Project project, IMSBuildProjectGeneratorContext context ) : void
writer System.Xml.XmlWriter XML writer to use
project Project The project to generate .csproj for
context IMSBuildProjectGeneratorContext Current .csproj generation context
리턴 void