C# 클래스 BudgetAnalyser.Engine.UnitTest.TestHarness.EmbeddedResourceFileReaderWriter

상속: IFileReaderWriter
파일 보기 프로젝트 열기: Benrnz/BudgetAnalyser

공개 메소드들

메소드 설명
CreateWritableStream ( string fileName ) : Stream

Creates a writable stream to write data into. This is an alternative to IFileReaderWriter.WriteToDiskAsync

FileExists ( string fileName ) : bool

Files the exists.

LoadFirstLinesFromDiskAsync ( string fileName, int lineCount ) : Task

Loads a file from disk.

LoadFromDiskAsync ( string fileName ) : Task

Loads a budget collection xaml file from disk.

WriteToDiskAsync ( string fileName, string data ) : System.Threading.Tasks.Task

Writes the budget collections to a xaml file on disk.

메소드 상세

CreateWritableStream() 공개 메소드

Creates a writable stream to write data into. This is an alternative to IFileReaderWriter.WriteToDiskAsync
public CreateWritableStream ( string fileName ) : Stream
fileName string Full path and filename of the file.
리턴 Stream

FileExists() 공개 메소드

Files the exists.
public FileExists ( string fileName ) : bool
fileName string Full path and filename of the file.
리턴 bool

LoadFirstLinesFromDiskAsync() 공개 메소드

Loads a file from disk.
public LoadFirstLinesFromDiskAsync ( string fileName, int lineCount ) : Task
fileName string Full path and filename of the file.
lineCount int The number of lines to load.
리턴 Task

LoadFromDiskAsync() 공개 메소드

Loads a budget collection xaml file from disk.
public LoadFromDiskAsync ( string fileName ) : Task
fileName string Full path and filename of the file.
리턴 Task

WriteToDiskAsync() 공개 메소드

Writes the budget collections to a xaml file on disk.
public WriteToDiskAsync ( string fileName, string data ) : System.Threading.Tasks.Task
fileName string
data string
리턴 System.Threading.Tasks.Task