C# 클래스 System.IO.Abstractions.TestingHelpers.MockFileSystem

상속: IFileSystem, IMockFileDataAccessor
파일 보기 프로젝트 열기: tathamoddie/System.IO.Abstractions 1 사용 예제들

공개 메소드들

메소드 설명
AddDirectory ( string path ) : void
AddFile ( string path, MockFileData mockFile ) : void
FileExists ( string path ) : bool
GetFile ( string path ) : MockFileData
MockFileSystem ( ) : System.Collections.Generic
MockFileSystem ( MockFileData>.IDictionary files, string currentDirectory = "" ) : System.Collections.Generic
RemoveFile ( string path ) : void

비공개 메소드들

메소드 설명
FixPath ( string path ) : string
GetFileWithoutFixingPath ( string path ) : MockFileData

메소드 상세

AddDirectory() 공개 메소드

public AddDirectory ( string path ) : void
path string
리턴 void

AddFile() 공개 메소드

public AddFile ( string path, MockFileData mockFile ) : void
path string
mockFile MockFileData
리턴 void

FileExists() 공개 메소드

public FileExists ( string path ) : bool
path string
리턴 bool

GetFile() 공개 메소드

public GetFile ( string path ) : MockFileData
path string
리턴 MockFileData

MockFileSystem() 공개 메소드

public MockFileSystem ( ) : System.Collections.Generic
리턴 System.Collections.Generic

MockFileSystem() 공개 메소드

public MockFileSystem ( MockFileData>.IDictionary files, string currentDirectory = "" ) : System.Collections.Generic
files MockFileData>.IDictionary
currentDirectory string
리턴 System.Collections.Generic

RemoveFile() 공개 메소드

public RemoveFile ( string path ) : void
path string
리턴 void