C# Class NuGet.Common.MSBuildProjectSystem

Inheritance: PhysicalFileSystem, IProjectSystem, IMSBuildProjectSystem
ファイルを表示 Open project: themotleyfool/NuGet Class Usage Examples

Private Properties

Property Type Description
GetItem Microsoft.Build.Evaluation.ProjectItem
GetItems IEnumerable
GetProject Microsoft.Build.Evaluation.Project

Public Methods

Method 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

Method 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 method

public AddFrameworkReference ( string name ) : void
name string
return void

AddReference() public method

public AddReference ( string referencePath, Stream stream ) : void
referencePath string
stream Stream
return void

GetPropertyValue() public method

public GetPropertyValue ( string propertyName ) : dynamic
propertyName string
return dynamic

GetReference() public method

public GetReference ( string name ) : Microsoft.Build.Evaluation.ProjectItem
name string
return Microsoft.Build.Evaluation.ProjectItem

IsSupportedFile() public method

public IsSupportedFile ( string path ) : bool
path string
return bool

MSBuildProjectSystem() public method

public MSBuildProjectSystem ( string projectFile ) : System
projectFile string
return System

ReferenceExists() public method

public ReferenceExists ( string name ) : bool
name string
return bool

RemoveReference() public method

public RemoveReference ( string name ) : void
name string
return void

ResolvePath() public method

public ResolvePath ( string path ) : string
path string
return string

Save() public method

public Save ( ) : void
return void