C# Class Bari.Plugins.Csharp.VisualStudio.CsprojSections.SourceItemsSection

.csproj section listing all the source files
Inheritance: Bari.Plugins.VsCore.VisualStudio.ProjectSections.SourceItemsSectionBase
Datei anzeigen Open project: vigoo/bari

Public Methods

Method Description
SourceItemsSection ( Suite suite ) : System

Initializes the class

Protected Methods

Method Description
GetElementNameFor ( Project project, string file ) : string

Gets the element name for a given compilation item.

The default implementation always returns Compile

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

Private Methods

Method Description
IsWPFApplicationDefinition ( Project project, string file ) : bool

Method Details

GetElementNameFor() protected method

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
return string

GetSourceSets() protected method

protected GetSourceSets ( Project project ) : IEnumerable
project Project
return IEnumerable

SourceItemsSection() public method

Initializes the class
public SourceItemsSection ( Suite suite ) : System
suite Suite Active suite
return System

WriteAdditionalOptions() protected method

protected WriteAdditionalOptions ( XmlWriter writer, Project project, SuiteRelativePath suiteRelativePath ) : void
writer System.Xml.XmlWriter
project Project
suiteRelativePath SuiteRelativePath
return void