Click or drag to resize

TypeRefCreate Method (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.

Namespace:  Nova.CodeDOM
Assembly:  Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 7.44.8391.13415
Syntax
C#
public static TypeRef Create(
	Type type,
	bool isFirstOnLine,
	params Expression[] typeArguments
)

Parameters

type
Type: SystemType
isFirstOnLine
Type: SystemBoolean
typeArguments
Type: Nova.CodeDOMExpression

Return Value

Type: TypeRef
See Also