C# Class NuForVS.Test.Mocks.MockFileSystem

Inheritance: IFileSystem
Afficher le fichier Open project: kiliman/NuForVS Class Usage Examples

Méthodes publiques

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

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

FolderExists() public méthode

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

GetFiles() public méthode

public GetFiles ( string path ) : IEnumerable
path string
Résultat IEnumerable

GetFolders() public méthode

public GetFolders ( string path ) : IEnumerable
path string
Résultat IEnumerable

MockFileSystem() public méthode

public MockFileSystem ( string paths ) : System.Collections.Generic
paths string
Résultat System.Collections.Generic