C# Class CSharpGL.UnmanagedArrayBase

Base type of unmanaged array.

Similar to array in int array[Length];

Inheritance: IDisposable
Afficher le fichier Open project: bitzhuwei/CSharpGL Class Usage Examples

Méthodes publiques

Свойство Type Description
allocatedCount int
disposedCount int

Protected Properties

Свойство Type Description
elementSize int

Méthodes publiques

Méthode Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

ToString ( ) : string

return string.Format("head: {0}, element count: {1}, byte length: {2}", this.Header, this.Length, this.ByteLength);

Méthodes protégées

Méthode Description
DisposeUnmanagedResources ( ) : void

Dispose unmanaged resources

UnmanagedArrayBase ( int elementCount, int elementSize ) : System

Base type of unmanaged array.

Similar to array in int array[Length];

Private Methods

Méthode Description
Dispose ( bool disposing ) : void

Dispose managed and unmanaged resources of this instance.

Method Details

Dispose() public méthode

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Résultat void

DisposeUnmanagedResources() protected méthode

Dispose unmanaged resources
protected DisposeUnmanagedResources ( ) : void
Résultat void

ToString() public méthode

return string.Format("head: {0}, element count: {1}, byte length: {2}", this.Header, this.Length, this.ByteLength);
public ToString ( ) : string
Résultat string

UnmanagedArrayBase() protected méthode

Base type of unmanaged array.

Similar to array in int array[Length];

protected UnmanagedArrayBase ( int elementCount, int elementSize ) : System
elementCount int How many elements?
elementSize int How manay bytes for one element of array?
Résultat System

Property Details

allocatedCount public_oe static_oe property

How many UnmanagedArrayBase allocated?

Only used for debugging.

public static int allocatedCount
Résultat int

disposedCount public_oe static_oe property

How many UnmanagedArrayBase released?

Only used for debugging.

public static int disposedCount
Résultat int

elementSize protected_oe property

单个元素的字节数。

How manay bytes for one element of array?

protected int elementSize
Résultat int