C# Класс NuForVS.Test.Mocks.MockFileSystem

Наследование: IFileSystem
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
FileExists ( string path ) : bool
FolderExists ( string path ) : bool
GetFiles ( string path ) : IEnumerable
GetFolders ( string path ) : IEnumerable
MockFileSystem ( string paths ) : System.Collections.Generic

Описание методов

FileExists() публичный Метод

public FileExists ( string path ) : bool
path string
Результат bool

FolderExists() публичный Метод

public FolderExists ( string path ) : bool
path string
Результат bool

GetFiles() публичный Метод

public GetFiles ( string path ) : IEnumerable
path string
Результат IEnumerable

GetFolders() публичный Метод

public GetFolders ( string path ) : IEnumerable
path string
Результат IEnumerable

MockFileSystem() публичный Метод

public MockFileSystem ( string paths ) : System.Collections.Generic
paths string
Результат System.Collections.Generic