C# Class TastyDomainDriven.File.FileRecord

Show file Open project: jaceenet/TastyDomainDriven Class Usage Examples

Public Methods

Method Description
FileRecord ( byte bytes, string name, long version ) : System
FileRecord ( long version ) : System
ReadContentFromStream ( BinaryReader binary ) : bool
WriteContentToStream ( Stream stream ) : void
WriteContentToStreamAsync ( Stream stream ) : System.Threading.Tasks.Task

Method Details

FileRecord() public method

public FileRecord ( byte bytes, string name, long version ) : System
bytes byte
name string
version long
return System

FileRecord() public method

public FileRecord ( long version ) : System
version long
return System

ReadContentFromStream() public method

public ReadContentFromStream ( BinaryReader binary ) : bool
binary System.IO.BinaryReader
return bool

WriteContentToStream() public method

public WriteContentToStream ( Stream stream ) : void
stream Stream
return void

WriteContentToStreamAsync() public method

public WriteContentToStreamAsync ( Stream stream ) : System.Threading.Tasks.Task
stream Stream
return System.Threading.Tasks.Task