Compono.CompositionRequestDescriptor.CompositionRequestDescriptor(Compono.CompositionRequestKind,int,string,System.Type,Compono.Nullability)
Compono¶
Compono.CompositionRequestDescriptor¶
CompositionRequestDescriptor(CompositionRequestKind, int, string, Type, Nullability) Constructor¶
Creates a CompositionRequestDescriptor.
public CompositionRequestDescriptor(Compono.CompositionRequestKind kind, int ordinal, string name, System.Type? declaringType, Compono.Nullability nullability);
Parameters¶
Whether this is a constructor parameter, a required member, or (for a CompositionRow) a test method's own parameter.
ordinal System.Int32
The stable identity this request forks random state and builds path identity from - a constructor parameter's position in the selected constructor, a required member's generator-assigned declaration-order index, or a test method parameter's position. Never Name.
name System.String
The parameter or member name, for diagnostic display only.
declaringType System.Type
The type whose constructor/required member declares this parameter/member, or the test class for a TestParameter request - null for a request with no member identity of its own (a collection element, dictionary key/value, or manual resolve). See docs/adr/0020-composition-configuration-rules.md.
nullability Nullability
Whether the requesting parameter or member is nullable-annotated.