C# Class StatePrinting.Tests.Mocks.FileRepositoryMock

Inheritance: StatePrinting.TestAssistance.FileRepository
ファイルを表示 Open project: kbilsted/StatePrinter Class Usage Examples

Public Methods

Method Description
FileRepositoryMock ( byte whatToRead ) : StatePrinting.TestAssistance
Read ( string path ) : byte[]
Write ( string path, byte content ) : void

Method Details

FileRepositoryMock() public method

public FileRepositoryMock ( byte whatToRead ) : StatePrinting.TestAssistance
whatToRead byte
return StatePrinting.TestAssistance

Read() public method

public Read ( string path ) : byte[]
path string
return byte[]

Write() public method

public Write ( string path, byte content ) : void
path string
content byte
return void