C# Class NuGet.Common.MSBuildProjectSystem

Inheritance: PhysicalFileSystem, IProjectSystem, IMSBuildProjectSystem
Afficher le fichier Open project: themotleyfool/NuGet Class Usage Examples

Private Properties

Свойство Type Description
GetItem Microsoft.Build.Evaluation.ProjectItem
GetItems IEnumerable
GetProject Microsoft.Build.Evaluation.Project

Méthodes publiques

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

Private Methods

Méthode Description
GetItem ( string itemType, string name ) : Microsoft.Build.Evaluation.ProjectItem
GetItems ( string itemType, string name ) : IEnumerable
GetProject ( string projectFile ) : Microsoft.Build.Evaluation.Project

Method Details

AddFrameworkReference() public méthode

public AddFrameworkReference ( string name ) : void
name string
Résultat void

AddReference() public méthode

public AddReference ( string referencePath, Stream stream ) : void
referencePath string
stream Stream
Résultat void

GetPropertyValue() public méthode

public GetPropertyValue ( string propertyName ) : dynamic
propertyName string
Résultat dynamic

GetReference() public méthode

public GetReference ( string name ) : Microsoft.Build.Evaluation.ProjectItem
name string
Résultat Microsoft.Build.Evaluation.ProjectItem

IsSupportedFile() public méthode

public IsSupportedFile ( string path ) : bool
path string
Résultat bool

MSBuildProjectSystem() public méthode

public MSBuildProjectSystem ( string projectFile ) : System
projectFile string
Résultat System

ReferenceExists() public méthode

public ReferenceExists ( string name ) : bool
name string
Résultat bool

RemoveReference() public méthode

public RemoveReference ( string name ) : void
name string
Résultat void

ResolvePath() public méthode

public ResolvePath ( string path ) : string
path string
Résultat string

Save() public méthode

public Save ( ) : void
Résultat void