RequiresGenericParametersAttribute 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 := true)] RequiresGenericParametersAttribute = public sealed class(Attribute)
Apply this attribute to an aspect to tell the compiler that any class this aspect is placed on requires a minimum or maximum number of generic parameters.
Namespace: Cirrus
Members
| | |
|---|---|
| constructor(aCount: Integer) | Constructor. Requires exactly this number of generics |
| constructor(aMin, aMax: Integer) | Constructor |
Properties
| | |
|---|---|
| Max: Integer | The maximum number of generic parameters the target class must have |
| Min: Integer | The minimum number of generic parameters the target class must have |
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