A Sandcastle Documented Class Library

# 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 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    public class CheckedBoundsValidationRule<TValue> : AppSettingValidationRule
    where TValue : struct, new(), IComparable<TValue>

    Public Class CheckedBoundsValidationRule(Of TValue As {Structure, New, IComparable(Of TValue)})
    	Inherits AppSettingValidationRule

    generic<typename TValue>
    where TValue : value class, gcnew(), IComparable<TValue>
    public ref class CheckedBoundsValidationRule : public AppSettingValidationRule

    type CheckedBoundsValidationRule<'TValue when 'TValue : struct, new() and IComparable<'TValue>> =
        class
            inherit AppSettingValidationRule
        end

#### Type Parameters

TValue
  The type of the value.

The CheckedBoundsValidationRule
TValue
type exposes the following members.

Constructors

| Name | Description
--- | --- | ---
| CheckedBoundsValidationRule TValue | Initializes a new instance of the CheckedBoundsValidationRule TValue class.

Top
Properties

| Name | Description
--- | --- | ---
| MaxValue | Gets the maximum acceptable value for a configuration setting.
| MinValue | Gets the minimum acceptable value for a configuration setting.

Top
Methods

| Name | Description
--- | --- | ---
| Validate | Validates the specified value against the rule. (Overrides AppSettingValidationRule.Validate(ValidationParameters).)

Top
See Also

#### Reference

Dundas.BI.Configuration Namespace