Show / Hide Table of Contents

Struct Range<T>

A strongly-typed range of values between a minimum and maximum (inclusive)

Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Innovator.Client
Assembly: Innovator.Client.dll
Syntax
public struct Range<T> : IRange where T : IComparable
Type Parameters
Name Description
T

Constructors

| Improve this Doc View Source

Range(T, T)

Initializes a new instance of the Range<T> struct.

Declaration
public Range(T min, T max)
Parameters
Type Name Description
T min

The minimum.

T max

The maximum.

Properties

| Improve this Doc View Source

HasValue

Whether the range has been initialized with a value

Declaration
public bool HasValue { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Maximum

The maximum value of the range

Declaration
public T Maximum { get; }
Property Value
Type Description
T
| Improve this Doc View Source

Minimum

The minimum value of the range

Declaration
public T Minimum { get; }
Property Value
Type Description
T

Methods

| Improve this Doc View Source

ContainsValue(T)

Whether or not the range contains the specified value

Declaration
public bool ContainsValue(T value)
Parameters
Type Name Description
T value
Returns
Type Description
System.Boolean

Explicit Interface Implementations

| Improve this Doc View Source

IRange.Maximum

Declaration
object IRange.Maximum { get; }
Returns
Type Description
System.Object
Implements
IRange.Maximum
| Improve this Doc View Source

IRange.Minimum

Declaration
object IRange.Minimum { get; }
Returns
Type Description
System.Object
Implements
IRange.Minimum
  • Improve this Doc
  • View Source
Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX