Class AnnotationParameter
- Namespace
- RDCore.SDK.Extensibility.Annotations
- Assembly
- RDCore.SDK.dll
A parameter of an annotation (Parameters): what signature help shows for its argument.
public sealed record AnnotationParameter : IEquatable<AnnotationParameter>
- Inheritance
-
AnnotationParameter
- Implements
- Inherited Members
Remarks
Its description is a string of the provider's resources, keyed Annotation_Parameter (Descriptions).
Properties
IsOptional
Whether an argument for it may be left out; only the parameters after the required ones may be.
public bool IsOptional { get; init; }
Property Value
Name
The name of the parameter, as signature help shows it.
public required string Name { get; init; }
Property Value
Repeats
Whether it takes a list of arguments: one or more, or any number when it is also optional. Only the last parameter may.
public bool Repeats { get; init; }
Property Value
Takes
What the parameter takes.
public required AnnotationArgumentKind Takes { get; init; }