C# Class withSIX.Core.Services.Infrastructure.FileWriterContract

Inheritance: IFileWriter
显示文件 Open project: SIXNetworks/withSIX.Desktop

Public Methods

Method Description
WriteFile ( string fileName, string fileContent ) : void
WriteFile ( string fileName, string fileContent, Encoding encoding ) : void
WriteFileAsync ( string fileName, string fileContent ) : System.Threading.Tasks.Task
WriteFileAsync ( string fileName, string fileContent, Encoding encoding ) : System.Threading.Tasks.Task

Method Details

WriteFile() public method

public WriteFile ( string fileName, string fileContent ) : void
fileName string
fileContent string
return void

WriteFile() public method

public WriteFile ( string fileName, string fileContent, Encoding encoding ) : void
fileName string
fileContent string
encoding System.Text.Encoding
return void

WriteFileAsync() public method

public WriteFileAsync ( string fileName, string fileContent ) : System.Threading.Tasks.Task
fileName string
fileContent string
return System.Threading.Tasks.Task

WriteFileAsync() public method

public WriteFileAsync ( string fileName, string fileContent, Encoding encoding ) : System.Threading.Tasks.Task
fileName string
fileContent string
encoding System.Text.Encoding
return System.Threading.Tasks.Task