C# Class GSF.IO.Unmanaged.CollectionEventArgs

This contains information about the collection that is requested from the system.
Inheritance: System.EventArgs
Datei anzeigen Open project: GridProtectionAlliance/openHistorian Class Usage Examples

Public Methods

Method Description
CollectionEventArgs ( Action releasePage, MemoryPoolCollectionMode collectionMode, int desiredPageReleaseCount ) : System

Creates a new CollectionEventArgs.

ReleasePage ( int index ) : void

Releases an unused page.

Method Details

CollectionEventArgs() public method

Creates a new CollectionEventArgs.
public CollectionEventArgs ( Action releasePage, MemoryPoolCollectionMode collectionMode, int desiredPageReleaseCount ) : System
releasePage Action
collectionMode MemoryPoolCollectionMode
desiredPageReleaseCount int
return System

ReleasePage() public method

Releases an unused page.
public ReleasePage ( int index ) : void
index int the index of the page
return void