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

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

Public Methods

Method Description
EmbeddedResourcesSection ( 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

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

Gets the source sets to include

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

Private Methods

Method Description
PrefixNumericComponents ( string path ) : string
PrefixWithRootNamespace ( Project project, string path ) : string

Method Details

EmbeddedResourcesSection() public method

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

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

GetLogicalPath() protected method

protected GetLogicalPath ( Project project, SuiteRelativePath file, SourceSetType sourceSetType ) : string
project Project
file SuiteRelativePath
sourceSetType SourceSetType
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

WriteAdditionalOptions() protected method

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