C# Class FileFind.Meshwork.Filesystem.LocalFile

Inheritance: AbstractFile, ILocalDirectoryItem
Exibir arquivo Open project: codebutler/meshwork Class Usage Examples

Public Methods

Method Description
Delete ( ) : void
FromDataRow ( DataRow row ) : LocalFile

Private Methods

Method Description
ById ( int id ) : LocalFile
CountByParentId ( Nullable parent_id ) : long
CreateFile ( LocalDirectory parentDirectory, System info ) : LocalFile
CreateFile ( LocalDirectory parentDirectory, string name, string localpath, long length ) : LocalFile
ListByParentId ( Nullable parent_id ) : FileFind.Meshwork.Filesystem.LocalFile[]
LocalFile ( DataRow row ) : System
LocalFile ( int id, int parentId, string name, string localPath, long length, string fullPath ) : System
Reload ( ) : void
Reload ( DataRow row ) : void
Save ( ) : void
Update ( string infoHash, string sha1, int pieceLength, string pieces ) : void

Method Details

Delete() public method

public Delete ( ) : void
return void

FromDataRow() public static method

public static FromDataRow ( DataRow row ) : LocalFile
row System.Data.DataRow
return LocalFile