RequiresGenericParametersAttribute 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 := 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

Method
Description
constructor(aCount: Integer)Constructor. Requires exactly this number of generics
constructor(aMin, aMax: Integer)Constructor


Properties

Property
Description
Max: IntegerThe maximum number of generic parameters the target class must have
Min: IntegerThe minimum number of generic parameters the target class must have


See Also


Oxygene-48.png

Area: Oxygene Language
Compiler version: Oxygene 5

Language GlossaryKeywordsTypesFAQHow To

Navigation
Areas
More
Toolbox