TypeRefCreate Method |
Name | Description | |
---|---|---|
Create(Type, Expression) |
Construct a TypeRef from a Type.
Use this factory method if the Type might be a generic parameter (requiring an OpenTypeParameterRef/TypeParameterRef) or
expression tree (requiring an ExpressionTreeRef) or an array of one of those, otherwise you may use a 'new TypeRef()' constructor for
efficiency.
| |
Create(Type, Int32) |
Construct a TypeRef from a Type.
Use this factory method if the Type might be a generic parameter (requiring an OpenTypeParameterRef/TypeParameterRef) or
expression tree (requiring an ExpressionTreeRef) or an array of one of those, otherwise you may use a 'new TypeRef()' constructor for
efficiency.
| |
Create(GenericParameter, Int32) | ||
Create(TypeReference, Expression) |
Construct a TypeRef from a TypeReference.
This factory method handles TypeDefinitions, GenericParameters (returning an OpenTypeParameterRef),
expression trees (returning an ExpressionTreeRef), TypeReferences (resolving them to a TypeDefinition),
or arrays of any of those. For a known TypeDefinition, you may use a 'new TypeRef()' constructor for efficiency.
| |
Create(TypeReference, Int32) |
Construct a TypeRef from a TypeReference.
This factory method handles TypeDefinitions, GenericParameters (returning an OpenTypeParameterRef),
expression trees (returning an ExpressionTreeRef), TypeReferences (resolving them to a TypeDefinition),
or arrays of any of those. For a known TypeDefinition, you may use a 'new TypeRef()' constructor for efficiency.
| |
Create(Type, Boolean, Expression) |
Construct a TypeRef from a Type.
Use this factory method if the Type might be a generic parameter (requiring an OpenTypeParameterRef/TypeParameterRef) or
expression tree (requiring an ExpressionTreeRef) or an array of one of those, otherwise you may use a 'new TypeRef()' constructor for
efficiency.
| |
Create(Type, Boolean, Int32) |
Construct a TypeRef from a Type.
Use this factory method if the Type might be a generic parameter (requiring an OpenTypeParameterRef/TypeParameterRef) or
expression tree (requiring an ExpressionTreeRef) or an array of one of those, otherwise you may use a 'new TypeRef()' constructor for
efficiency.
| |
Create(GenericParameter, Boolean, Int32) | ||
Create(GenericParameter, ListInt32, Int32) | ||
Create(TypeReference, Boolean, Expression) |
Construct a TypeRef from a TypeReference.
This factory method handles TypeDefinitions, GenericParameters (returning an OpenTypeParameterRef),
expression trees (returning an ExpressionTreeRef), TypeReferences (resolving them to a TypeDefinition),
or arrays of any of those. For a known TypeDefinition, you may use a 'new TypeRef()' constructor for efficiency.
| |
Create(TypeReference, Boolean, Int32) |
Construct a TypeRef from a TypeReference.
This factory method handles TypeDefinitions, GenericParameters (returning an OpenTypeParameterRef),
expression trees (returning an ExpressionTreeRef), TypeReferences (resolving them to a TypeDefinition),
or arrays of any of those. For a known TypeDefinition, you may use a 'new TypeRef()' constructor for efficiency.
| |
Create(Type, ChildListExpression, ListInt32, Int32) |
Construct a TypeRef from a Type.
Use this factory method if the Type might be a generic parameter (requiring an OpenTypeParameterRef/TypeParameterRef) or
expression tree (requiring an ExpressionTreeRef) or an array of one of those, otherwise you may use a 'new TypeRef()' constructor for
efficiency.
| |
Create(GenericParameter, Boolean, ListInt32, Int32) | ||
Create(TypeReference, ChildListExpression, ListInt32, Int32) |
Construct a TypeRef from a TypeReference.
This factory method handles TypeDefinitions, GenericParameters (returning an OpenTypeParameterRef),
expression trees (returning an ExpressionTreeRef), TypeReferences (resolving them to a TypeDefinition),
or arrays of any of those. For a known TypeDefinition, you may use a 'new TypeRef()' constructor for efficiency.
| |
Create(Type, Boolean, ChildListExpression, ListInt32, Int32, Boolean) |
Construct a TypeRef from a Type.
Use this factory method if the Type might be a generic parameter (requiring an OpenTypeParameterRef/TypeParameterRef) or
expression tree (requiring an ExpressionTreeRef) or an array of one of those, otherwise you may use a 'new TypeRef()' constructor for
efficiency.
| |
Create(TypeReference, Boolean, ChildListExpression, ListInt32, Int32, Boolean) |
Construct a TypeRef from a TypeReference.
This factory method handles TypeDefinitions, GenericParameters (returning an OpenTypeParameterRef),
expression trees (returning an ExpressionTreeRef), TypeReferences (resolving them to a TypeDefinition),
or arrays of any of those. For a known TypeDefinition, you may use a 'new TypeRef()' constructor for efficiency.
|