GenericParameterTypeSpecifierAttribute Class

From The Oxygene Language Wiki

Jump to:navigation, search

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


[AttributeUsage(AttributeTargets.&Class, AllowMultiple := false, &Inherited := false)]
GenericParameterTypeSpecifierAttribute = public sealed class(Attribute)

This attribute is placed on types that serve as a placeholder for real generic type and method parameters. Since aspect attributes don't have generic parameters of their own, this attribute can be applied to any class, and when the compiler encounters that type used in a attribute that uses System.Type, it will change it into the specified generic parameter. MethodGenericParameter0 Class, GenericParameter0 Class and their related types use this attribute.

Namespace: Cirrus


Members

Method
Description
#ctor(aMethodGenericParameter: Boolean; aParameterNo: Integer)Constructor for this class


Properties

Property
Description
Method: BooleanTrue if it's a method generic parameter, false for classes
No: IntegerParameter number


See Also


Oxygene-48.png

Area: Oxygene Language
Compiler version: Oxygene 5

Language GlossaryKeywordsTypesFAQHow To

Navigation
Areas
More
Toolbox