C# Class Bari.Plugins.VCpp.VisualStudio.VcxprojSections.SourceItemsSection

Inheritance: Bari.Plugins.VsCore.VisualStudio.ProjectSections.SourceItemsSectionBase
Datei anzeigen Open project: vigoo/bari

Public Methods

Method Description
SourceItemsSection ( Suite suite, IProjectPlatformManagement platformManagement ) : System.Collections.Generic

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

Gets the source sets to include

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

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

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

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

SourceItemsSection() public method

public SourceItemsSection ( Suite suite, IProjectPlatformManagement platformManagement ) : System.Collections.Generic
suite Suite
platformManagement IProjectPlatformManagement
return System.Collections.Generic

WriteAdditionalOptions() protected method

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