Docsv3.20.2
Back to API Reference
Class

ParameterDescriptorSet

sealed

The parameter surface of one modifier type: its descriptors, inherited ones first, and the markup slots each level of its type hierarchy declares.

Remarks

A type's markup slots are its own ParameterAttribute fields and the members of its ParameterContainerAttribute fields, in declaration order; a subclass's slots precede its base type's. The parameter generator emits one set per opted-in type as its Param.All.
public int Length{ get }

Number of descriptors, inherited ones included.

[ctor]public ParameterDescriptorSet(int slotCount, ParameterDescriptorSet inherited)

Creates the set of a modifier type from its own descriptors and the set it inherits.

public static readonly ParameterDescriptorSet None

A set declaring no parameters.