NonNegativeOrInfiniteTimeSpanValidator Class

Provides validation for a TimeSpan object allowing non-negative spans and the value for InfiniteTimeSpan.

Namespace: Microsoft.Practices.EnterpriseLibrary.Common.Configuration
Assembly: Microsoft.Practices.EnterpriseLibrary.Common (in Microsoft.Practices.EnterpriseLibrary.Common.dll) Version: 6.0.0.0 (6.0.1304.0)

Syntax

public class NonNegativeOrInfiniteTimeSpanValidator : TimeSpanValidator
'Declaration
Public Class NonNegativeOrInfiniteTimeSpanValidator
    Inherits TimeSpanValidator
public ref class NonNegativeOrInfiniteTimeSpanValidator : public TimeSpanValidator

Inheritance Hierarchy

System.Object
System.Configuration.ConfigurationValidatorBase
System.Configuration.TimeSpanValidator
Microsoft.Practices.EnterpriseLibrary.Common.Configuration.NonNegativeOrInfiniteTimeSpanValidator

See Also

NonNegativeOrInfiniteTimeSpanValidator Members

Microsoft.Practices.EnterpriseLibrary.Common.Configuration Namespace