C# Class AoC.Questionnaire.Extensions

显示文件 Open project: HKStrategies/countrywide-countdown

Public Methods

Method Description
CopyTo ( this input, Stream output ) : void
CopyTo ( this input, Stream output, int buffer_size ) : void
CopyToAsync ( this input, Stream output ) : System.Threading.Tasks.Task
CopyToAsync ( this input, Stream output, int bufferSize ) : System.Threading.Tasks.Task
Hash ( this clear_text ) : string
RecursiveFileSearch ( this dir ) : IEnumerable
ValidateEmail ( this email ) : bool
Write ( this stream, Encoding encoding, string text ) : void
Write ( this stream, string text ) : void
Write ( this stream, string text, Encoding encoding ) : void

Method Details

CopyTo() public static method

public static CopyTo ( this input, Stream output ) : void
input this
output Stream
return void

CopyTo() public static method

public static CopyTo ( this input, Stream output, int buffer_size ) : void
input this
output Stream
buffer_size int
return void

CopyToAsync() public static method

public static CopyToAsync ( this input, Stream output ) : System.Threading.Tasks.Task
input this
output Stream
return System.Threading.Tasks.Task

CopyToAsync() public static method

public static CopyToAsync ( this input, Stream output, int bufferSize ) : System.Threading.Tasks.Task
input this
output Stream
bufferSize int
return System.Threading.Tasks.Task

Hash() public static method

public static Hash ( this clear_text ) : string
clear_text this
return string

RecursiveFileSearch() public static method

public static RecursiveFileSearch ( this dir ) : IEnumerable
dir this
return IEnumerable

ValidateEmail() public static method

public static ValidateEmail ( this email ) : bool
email this
return bool

Write() public static method

public static Write ( this stream, Encoding encoding, string text ) : void
stream this
encoding System.Text.Encoding
text string
return void

Write() public static method

public static Write ( this stream, string text ) : void
stream this
text string
return void

Write() public static method

public static Write ( this stream, string text, Encoding encoding ) : void
stream this
text string
encoding System.Text.Encoding
return void