RequiresGenericParametersAttribute
Overview
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.
Location
- Reference: RemObjects.Elements.Cirrus.dll
- Namespace: RemObjects.Elements.Cirrus
- Ancestry: Attribute | RequiresGenericParametersAttribute
Properties
Max
The maximum number of generic parameters the target class must have
property Max: Int32 read;
Int32 Max { get; }
var Max: Int32 { get{} }
Int32 Max { __get; }
ReadOnly Property Max() As Int32
Min
The minimum number of generic parameters the target class must have
property Min: Int32 read;
Int32 Min { get; }
var Min: Int32 { get{} }
Int32 Min { __get; }
ReadOnly Property Min() As Int32
Instance Methods
constructor (Int32)
Constructor. Requires exactly this number of generics
constructor(aCount: Int32)
RequiresGenericParametersAttribute(Int32 aCount)
init(_ aCount: Int32)
RequiresGenericParametersAttribute(Int32 aCount)
Sub New(aCount As Int32)
Parameters:
- aCount: Number of required generic parameters
Constructor
Parameters:
- aMin: Minimum required generic parameters
- aMax: Maximum required generic parameters