Skip to content
Start free evaluation

PDComm.GemCommandParameterInfo

Struct

Represents the validation rules of one configured remote command parameter.

public readonly record struct GemCommandParameterInfo

Parameters

NameDescription
MinCountThe minimum element count of the value.
MaxCountThe maximum element count of the value.
RequiredWhether the parameter must be present.
FormatThe required SECS-II format of the value, or null when any allowed format is accepted.
MinimumThe inclusive lower bound of integer elements, if any.
MaximumThe 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

NameDescription
MinCountThe minimum element count of the value.
MaxCountThe maximum element count of the value.
RequiredWhether the parameter must be present.
FormatThe required SECS-II format of the value, or null when any allowed format is accepted.
MinimumThe inclusive lower bound of integer elements, if any.
MaximumThe 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; }