C# Класс NuGet.Common.MSBuildProjectSystem

Наследование: PhysicalFileSystem, IProjectSystem, IMSBuildProjectSystem
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
GetItem Microsoft.Build.Evaluation.ProjectItem
GetItems IEnumerable
GetProject Microsoft.Build.Evaluation.Project

Открытые методы

Метод Описание
AddFrameworkReference ( string name ) : void
AddReference ( string referencePath, Stream stream ) : void
GetPropertyValue ( string propertyName ) : dynamic
GetReference ( string name ) : Microsoft.Build.Evaluation.ProjectItem
IsSupportedFile ( string path ) : bool
MSBuildProjectSystem ( string projectFile ) : System
ReferenceExists ( string name ) : bool
RemoveReference ( string name ) : void
ResolvePath ( string path ) : string
Save ( ) : void

Приватные методы

Метод Описание
GetItem ( string itemType, string name ) : Microsoft.Build.Evaluation.ProjectItem
GetItems ( string itemType, string name ) : IEnumerable
GetProject ( string projectFile ) : Microsoft.Build.Evaluation.Project

Описание методов

AddFrameworkReference() публичный Метод

public AddFrameworkReference ( string name ) : void
name string
Результат void

AddReference() публичный Метод

public AddReference ( string referencePath, Stream stream ) : void
referencePath string
stream Stream
Результат void

GetPropertyValue() публичный Метод

public GetPropertyValue ( string propertyName ) : dynamic
propertyName string
Результат dynamic

GetReference() публичный Метод

public GetReference ( string name ) : Microsoft.Build.Evaluation.ProjectItem
name string
Результат Microsoft.Build.Evaluation.ProjectItem

IsSupportedFile() публичный Метод

public IsSupportedFile ( string path ) : bool
path string
Результат bool

MSBuildProjectSystem() публичный Метод

public MSBuildProjectSystem ( string projectFile ) : System
projectFile string
Результат System

ReferenceExists() публичный Метод

public ReferenceExists ( string name ) : bool
name string
Результат bool

RemoveReference() публичный Метод

public RemoveReference ( string name ) : void
name string
Результат void

ResolvePath() публичный Метод

public ResolvePath ( string path ) : string
path string
Результат string

Save() публичный Метод

public Save ( ) : void
Результат void