IGenericParameterTypeDefinition Interface
From The Oxygene Language Wiki
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
| | |
|---|---|
| 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
| | |
|---|---|
| efinition.HasEmptyConstructor: Boolean | Gets or sets a "has parameterless constructor" constraint |
| efinition.IsReferenceType: Boolean | Gets or sets a reference type constraint |
| efinition.IsValueType: Boolean | Gets or sets a value type constraint |
| efinition.Name: String | Name of this parameter |
| efinition.Variance: GenericParameterVariance | Gets or sets the variance of this parameter |
See Also
- Cirrus
- External Links:
- Prism Aspects to Help with Monobjc Development (RemObjects Blogs)
- IGenericParameterType Interface
- IType Interface
Area: Oxygene Language
Compiler version: Oxygene 5
Language Glossary — Keywords — Types — FAQ — How To