PDComm.GemCommandParameterInfo
Struct
Represents the validation rules of one configured remote command parameter.
public readonly record struct GemCommandParameterInfoParameters
| Name | Description |
|---|---|
MinCount | The minimum element count of the value. |
MaxCount | The maximum element count of the value. |
Required | Whether the parameter must be present. |
Format | The required SECS-II format of the value, or null when any allowed format is accepted. |
Minimum | The inclusive lower bound of integer elements, if any. |
Maximum | The inclusive upper bound of integer elements, if any. |
Members
GemCommandParameterInfo
Constructor
Represents the validation rules of one configured remote command parameter.
public GemCommandParameterInfo(nuint MinCount, nuint MaxCount, bool Required, SecsFormat? Format, Int128? Minimum, Int128? Maximum)Parameters
| Name | Description |
|---|---|
MinCount | The minimum element count of the value. |
MaxCount | The maximum element count of the value. |
Required | Whether the parameter must be present. |
Format | The required SECS-II format of the value, or null when any allowed format is accepted. |
Minimum | The inclusive lower bound of integer elements, if any. |
Maximum | The inclusive upper bound of integer elements, if any. |
Format
Property
The required SECS-II format of the value, or null when any allowed format is accepted.
public SecsFormat? Format { get; init; }MaxCount
Property
The maximum element count of the value.
public nuint MaxCount { get; init; }Maximum
Property
The inclusive upper bound of integer elements, if any.
public Int128? Maximum { get; init; }MinCount
Property
The minimum element count of the value.
public nuint MinCount { get; init; }Minimum
Property
The inclusive lower bound of integer elements, if any.
public Int128? Minimum { get; init; }Required
Property
Whether the parameter must be present.
public bool Required { get; init; }