C# Class NuGet.Test.Mocks.MockProjectSystem

Inheritance: MockFileSystem, IProjectSystem
Mostra file Open project: xero-github/Nuget Class Usage Examples

Public Methods

Method Description
AddFrameworkReference ( string name ) : void
AddReference ( string referencePath ) : void
AddReference ( string referencePath, Stream stream ) : void
GetPropertyValue ( string propertyName ) : dynamic
IsProjectReference ( string name ) : bool
IsSupportedFile ( string path ) : bool
MockProjectSystem ( ) : System
MockProjectSystem ( FrameworkName frameworkName, string root = @"x:\MockFileSystem" ) : System
ReferenceExists ( string name ) : bool
RemoveReference ( string name ) : void
ResolvePath ( string path ) : string

Method Details

AddFrameworkReference() public method

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

AddReference() public method

public AddReference ( string referencePath ) : void
referencePath 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

IsProjectReference() public method

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

IsSupportedFile() public method

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

MockProjectSystem() public method

public MockProjectSystem ( ) : System
return System

MockProjectSystem() public method

public MockProjectSystem ( FrameworkName frameworkName, string root = @"x:\MockFileSystem" ) : System
frameworkName FrameworkName
root 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