C# Class NuForVS.Test.Mocks.MockFileSystem

Inheritance: IFileSystem
Exibir arquivo Open project: kiliman/NuForVS Class Usage Examples

Public Methods

Method Description
FileExists ( string path ) : bool
FolderExists ( string path ) : bool
GetFiles ( string path ) : IEnumerable
GetFolders ( string path ) : IEnumerable
MockFileSystem ( string paths ) : System.Collections.Generic

Method Details

FileExists() public method

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

FolderExists() public method

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

GetFiles() public method

public GetFiles ( string path ) : IEnumerable
path string
return IEnumerable

GetFolders() public method

public GetFolders ( string path ) : IEnumerable
path string
return IEnumerable

MockFileSystem() public method

public MockFileSystem ( string paths ) : System.Collections.Generic
paths string
return System.Collections.Generic