<PackageReference Include="System.Configuration.ConfigurationManager" Version="9.0.3" />

TimeSpanValidatorAttribute

Declaratively instructs .NET to perform time validation on a configuration property. This class cannot be inherited.
public const string TimeSpanMaxValue = "10675199.02:48:05.4775807"

Gets the absolute maximum value allowed.

public const string TimeSpanMinValue = "-10675199.02:48:05.4775808"

Gets the absolute minimum value allowed.

public bool ExcludeRange { get; set; }

Gets or sets a value that indicates whether to include or exclude the integers in the range as defined by MinValueString and MaxValueString.

public TimeSpan MaxValue { get; }

Gets the absolute maximum TimeSpan value.

public string MaxValueString { get; set; }

Gets or sets the relative maximum TimeSpan value.

public TimeSpan MinValue { get; }

Gets the absolute minimum TimeSpan value.

public string MinValueString { get; set; }

Gets or sets the relative minimum TimeSpan value.

Initializes a new instance of the TimeSpanValidatorAttribute class.