C# Class PERWAPI.BoundArray

Multi dimensional array with explicit bounds
Inheritance: Array
Afficher le fichier Open project: xored/f4

Méthodes publiques

Méthode Description
BoundArray ( Type elementType, int dimensions ) : System

Create a new multi dimensional array type eg. elemType[,,] would be new BoundArray(elemType,3)

BoundArray ( Type elementType, int dimensions, int size ) : System

Create a new multi dimensional array type eg. elemType[5,10,20] would be new BoundArray(elemType,3,[5,10,20])

BoundArray ( Type elementType, int dimensions, int loBounds, int upBounds ) : System

Create a new multi dimensional array type eg. elemType[1..5,3..10,5,,] would be new BoundArray(elemType,5,[1,3,0],[5,10,4])

Private Methods

Méthode Description
SameBounds ( uint dims, int lbounds, int sizs ) : bool
SameType ( Type tstType ) : bool
TypeSig ( MemoryStream str ) : void

Method Details

BoundArray() public méthode

Create a new multi dimensional array type eg. elemType[,,] would be new BoundArray(elemType,3)
public BoundArray ( Type elementType, int dimensions ) : System
elementType Type the type of the elements
dimensions int the number of dimensions
Résultat System

BoundArray() public méthode

Create a new multi dimensional array type eg. elemType[5,10,20] would be new BoundArray(elemType,3,[5,10,20])
public BoundArray ( Type elementType, int dimensions, int size ) : System
elementType Type the type of the elements
dimensions int the number of dimensions
size int the sizes of the dimensions
Résultat System

BoundArray() public méthode

Create a new multi dimensional array type eg. elemType[1..5,3..10,5,,] would be new BoundArray(elemType,5,[1,3,0],[5,10,4])
public BoundArray ( Type elementType, int dimensions, int loBounds, int upBounds ) : System
elementType Type the type of the elements
dimensions int the number of dimensions
loBounds int lower bounds of dimensions
upBounds int upper bounds of dimensions
Résultat System