Méthode | Description | |
---|---|---|
BestCommonType ( |
Returns the best fit for a common type to be used in matching actual arguments to a methods Type parameters.
|
|
CanDeduceTypeArgsFromArgs ( |
Determines whether this instance can deduce type args for a generic type from the supplied arguments.
|
|
ConvertArgumentList ( object arglist, |
Convert an argument list to the required paramter types. Currently, only widening numeric conversions are performed.
|
|
GetDisplayName ( |
Gets the display name for a Type as used by NUnit.
|
|
GetDisplayName ( |
Gets the display name for a Type as used by NUnit.
|
|
GetEnumValues ( |
Gets the values for an enumeration, using Enum.GetTypes where available, otherwise through reflection.
|
|
IsNumeric ( |
Determines whether the specified type is numeric.
|
|
MakeGenericType ( |
Creates an instance of a generic Type using the supplied Type arguments
|
public static BestCommonType ( |
||
type1 | The first type. | |
type2 | The second type. | |
Résultat |
public static CanDeduceTypeArgsFromArgs ( |
||
type | The type to be examined. | |
arglist | object | The arglist. |
typeArgsOut | The type args to be used. | |
Résultat | bool |
public static ConvertArgumentList ( object arglist, |
||
arglist | object | An array of args to be converted |
parameters | A ParamterInfo[] whose types will be used as targets | |
Résultat | void |
public static GetDisplayName ( |
||
type | The Type for which a display name is needed. | |
Résultat | string |
public static GetDisplayName ( |
||
type | The Type for which a display name is needed. | |
arglist | object | The arglist provided. |
Résultat | string |
public static GetEnumValues ( |
||
enumType | ||
Résultat |
public static IsNumeric ( |
||
type | The type to be examined. | |
Résultat | bool |
public static MakeGenericType ( |
||
type | The generic type to be specialized. | |
typeArgs | The type args. | |
Résultat |