GenericParameterTypeSpecifierAttribute Class
From The Oxygene Language Wiki
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
| | |
|---|---|
| #ctor(aMethodGenericParameter: Boolean; aParameterNo: Integer) | Constructor for this class |
Properties
| | |
|---|---|
| Method: Boolean | True if it's a method generic parameter, false for classes |
| No: Integer | Parameter number |
See Also
- Cirrus
- External Links:
- Prism Aspects to Help with Monobjc Development (RemObjects Blogs)
Area: Oxygene Language
Compiler version: Oxygene 5
Language Glossary — Keywords — Types — FAQ — How To