C# Class Library.Net.Amoeba.BitmapManager

Inheritance: Library.ManagerBase, IThisLock
显示文件 Open project: Alliance-Network/Library Class Usage Examples

Public Properties

Property Type Description
SectorSize int

Public Methods

Method Description
BitmapManager ( BufferManager bufferManager ) : System
Get ( long point ) : bool
Set ( long point, bool state ) : void
SetLength ( long length ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
Flush ( ) : void
GetBuffer ( long sector ) : ArraySegment
Roundup ( long value, long unit ) : long

Method Details

BitmapManager() public method

public BitmapManager ( BufferManager bufferManager ) : System
bufferManager Library.BufferManager
return System

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Get() public method

public Get ( long point ) : bool
point long
return bool

Set() public method

public Set ( long point, bool state ) : void
point long
state bool
return void

SetLength() public method

public SetLength ( long length ) : void
length long
return void

Property Details

SectorSize public_oe static_oe property

public static int SectorSize
return int