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

Base class for MSBuild project file section listing the source files of the project
상속: MSBuildProjectSectionBase
파일 보기 프로젝트 열기: vigoo/bari

공개 메소드들

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

Writes the section using an XML writer

보호된 메소드들

메소드 설명
GetElementNameFor ( Project project, string file ) : string

Gets the element name for a given compilation item.

The default implementation always returns Compile

GetLogicalPath ( Project project, SuiteRelativePath file, SourceSetType sourceSetType ) : string
GetSourceSets ( Project project ) : IEnumerable

Gets the source sets to include

OrderSourceFiles ( Project project, IEnumerable files ) : IEnumerable

Orders the given set of source files if necessary

SourceItemsSectionBase ( Suite suite ) : System

Initializes the class

WriteAdditionalOptions ( XmlWriter writer, Project project, SuiteRelativePath suiteRelativePath ) : void

Provides the ability to add extra content to a given project source file

비공개 메소드들

메소드 설명
GetOrderedFiles ( Project project ) : SourceSetType>>.IEnumerable

메소드 상세

GetElementNameFor() 보호된 메소드

Gets the element name for a given compilation item.

The default implementation always returns Compile

protected GetElementNameFor ( Project project, string file ) : string
project Project
file string File name from the source set
리턴 string

GetLogicalPath() 보호된 메소드

protected GetLogicalPath ( Project project, SuiteRelativePath file, SourceSetType sourceSetType ) : string
project Project
file SuiteRelativePath
sourceSetType SourceSetType
리턴 string

GetSourceSets() 보호된 추상적인 메소드

Gets the source sets to include
protected abstract GetSourceSets ( Project project ) : IEnumerable
project Project The project to get its source sets
리턴 IEnumerable

OrderSourceFiles() 보호된 메소드

Orders the given set of source files if necessary
protected OrderSourceFiles ( Project project, IEnumerable files ) : IEnumerable
project Project Project being processed
files IEnumerable Input sequence
리턴 IEnumerable

SourceItemsSectionBase() 보호된 메소드

Initializes the class
protected SourceItemsSectionBase ( Suite suite ) : System
suite Suite Active suite
리턴 System

Write() 공개 메소드

Writes the section using an XML writer
public 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

WriteAdditionalOptions() 보호된 메소드

Provides the ability to add extra content to a given project source file
protected WriteAdditionalOptions ( XmlWriter writer, Project project, SuiteRelativePath suiteRelativePath ) : void
writer System.Xml.XmlWriter The project file writer
project Project Project model
suiteRelativePath SuiteRelativePath Suite relative path of the source item
리턴 void