C# Class BTDB.KVDBLayer.InMemoryFileCollection

Inheritance: IFileCollection
ファイルを表示 Open project: Bobris/BTDB Class Usage Examples

Public Methods

Method Description
AddFile ( string humanHint ) : IFileCollectionFile
ConcurentTemporaryTruncate ( uint index, uint offset ) : void
Dispose ( ) : void
Enumerate ( ) : IEnumerable
GetCount ( ) : uint
GetFile ( uint index ) : IFileCollectionFile
InMemoryFileCollection ( ) : System

Private Methods

Method Description
SimulateCorruptionBySetSize ( int size ) : void

Method Details

AddFile() public method

public AddFile ( string humanHint ) : IFileCollectionFile
humanHint string
return IFileCollectionFile

ConcurentTemporaryTruncate() public method

public ConcurentTemporaryTruncate ( uint index, uint offset ) : void
index uint
offset uint
return void

Dispose() public method

public Dispose ( ) : void
return void

Enumerate() public method

public Enumerate ( ) : IEnumerable
return IEnumerable

GetCount() public method

public GetCount ( ) : uint
return uint

GetFile() public method

public GetFile ( uint index ) : IFileCollectionFile
index uint
return IFileCollectionFile

InMemoryFileCollection() public method

public InMemoryFileCollection ( ) : System
return System