Range(T, T) Method

Definition

Assembly XenoAtom.CommandLine.dll

Validates that a comparable value is within the specified inclusive range.

public static OptionValidator<T> Range<T>(T min, T max)
    where T : IComparable<T>

Type parameters

T

Parameters

min
{T}
max
{T}

Returns