C# Class Bari.Plugins.VsCore.VisualStudio.ProjectSections.MSBuildProjectSectionBase

Base class for IMSBuildProjectSection implementations
Inheritance: IMSBuildProjectSection
Afficher le fichier Open project: vigoo/bari

Méthodes publiques

Méthode Description
Write ( XmlWriter writer, Project project, IMSBuildProjectGeneratorContext context ) : void

Writes the section using an XML writer

Méthodes protégées

Méthode Description
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

Method Details

GetOutputPath() protected méthode

protected GetOutputPath ( IFileSystemDirectory targetDir, Project project ) : string
targetDir IFileSystemDirectory
project Project
Résultat string

MSBuildProjectSectionBase() protected méthode

Initializes the .csproj section writer
protected MSBuildProjectSectionBase ( Suite suite ) : System.IO
suite Suite Active suite
Résultat System.IO

ToProjectRelativePath() protected méthode

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
Résultat string

Write() public abstract méthode

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
Résultat void