IGenericParameterTypeDefinition 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.


IGenericParameterTypeDefinition = public interface (IGenericParameterType, IType)

This interface can be used to define new and modify existing generic parameter types.

Namespace: Cirrus


Members

Method
Description
AddConstraint(aType: IType)Add a new constraint
RemoveConstraint(aType: IType)Remove a constraint from the constraints list
RemoveConstraint(no: Integer)Remove a constraint from the constraints list


Properties

Property
Description
efinition.HasEmptyConstructor: BooleanGets or sets a "has parameterless constructor" constraint
efinition.IsReferenceType: BooleanGets or sets a reference type constraint
efinition.IsValueType: BooleanGets or sets a value type constraint
efinition.Name: StringName of this parameter
efinition.Variance: GenericParameterVarianceGets or sets the variance of this parameter


See Also

Oxygene-48.png

Area: Oxygene Language
Compiler version: Oxygene 5

Language GlossaryKeywordsTypesFAQHow To

Navigation
Areas
More
Toolbox