Open this page in the API Guide

CheckedBoundsValidationRule<TValue> Class

Represents a rule for validating that a numeric value falls within a specified range.
Inheritance Hierarchy
System.Object
  Dundas.BI.Configuration.AppSettingValidationRule
    Dundas.BI.Configuration.CheckedBoundsValidationRule<TValue>

Namespace:  Dundas.BI.Configuration
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
public class CheckedBoundsValidationRule<TValue> : AppSettingValidationRule
where TValue : struct, new(), IComparable<TValue>

Type Parameters

TValue
The type of the value.

The CheckedBoundsValidationRule<TValue> type exposes the following members.

Constructors
  NameDescription
Public methodCheckedBoundsValidationRule<TValue>
Initializes a new instance of the CheckedBoundsValidationRule<TValue> class.
Top
Properties
  NameDescription
Public propertyMaxValue
Gets the maximum acceptable value for a configuration setting.
Public propertyMinValue
Gets the minimum acceptable value for a configuration setting.
Top
Methods
  NameDescription
Public methodValidate
Validates the specified value against the rule.
(Overrides AppSettingValidationRule.Validate(ValidationParameters).)
Top
See Also