<PackageReference Include="System.Configuration.ConfigurationManager" Version="11.0.0-preview.1.26104.118" />

System.Configuration.TimeSpanValidator

Provides validation of a TimeSpan object.
public TimeSpanValidator(TimeSpan minValue, TimeSpan maxValue)

Initializes a new instance of the TimeSpanValidator class, based on supplied parameters.

public TimeSpanValidator(TimeSpan minValue, TimeSpan maxValue, bool rangeIsExclusive)

Initializes a new instance of the TimeSpanValidator class, based on supplied parameters.

public TimeSpanValidator(TimeSpan minValue, TimeSpan maxValue, bool rangeIsExclusive, long resolutionInSeconds)

Initializes a new instance of the TimeSpanValidator class, based on supplied parameters.