IGenericParameterType Interface

From The Oxygene Language Wiki

Jump to:navigation, search

This is a Language topic
Feel free to add your notes to this topic below.


IGenericParameterType = public interface (IType)

A generic parameter type defintion. This IType interface can be used to query information about a generic parameter type.

Namespace: Cirrus


Members

Method
Description
GetConstraint(no: Integer): ITypeReturns a contraint


Properties

Property
Description
ConstraintCount: IntegerReturns the number of constraints
HasEmptyConstructor: BooleanReturns true if this generic parameter has the parameterless constructor constraint
IsReferenceType: BooleanReturns true if this generic parameter has a reference type constraint
IsValueType: BooleanReturns true if this generic parameter has a value type constraint
Variance: GenericParameterVarianceReturns the variance


See Also

Oxygene-48.png

Area: Oxygene Language
Compiler version: Oxygene 5

Language GlossaryKeywordsTypesFAQHow To

Navigation
Areas
More
Toolbox