Class ContentChunk
Content storage data chunk.
public sealed class ContentChunk
- Inheritance
-
ContentChunk
Properties
ExistsInFile
Gets a value indicating whether this exists in file.
public bool ExistsInFile { get; }
Property Value
IsLoaded
Gets a value indicating whether this chunk is loaded.
public bool IsLoaded { get; }
Property Value
IsMissing
Gets a value indicating whether this chunk is not loaded.
public bool IsMissing { get; }
Property Value
LastAccessTime
Gets the last access time.
public DateTime LastAccessTime { get; }
Property Value
Location
Gets the chunk location in file (adress of the first byte).
public int Location { get; }
Property Value
Size
Gets the chunk size in file (in bytes).
public int Size { get; }
Property Value
Storage
Gets the parent storage container.
public ContentStorage Storage { get; }
Property Value
Methods
GetData(DatabaseFileProvider)
Loads chunk data from the storage container.
public IntPtr GetData(DatabaseFileProvider fileProvider)
Parameters
fileProvider
DatabaseFileProviderDatabase file provider.
Returns
RegisterUsage()
Registers the usage operation of chunk data.
public void RegisterUsage()