Search Results for

    Show / Hide Table of Contents

    Class RangeExtensions

    Summary description for RangeExtensions.

    Inheritance
    System.Object
    RangeExtensions
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: ImageVault.Common.Lib.Web
    Assembly: ImageVault.Common.dll
    Syntax
    public static class RangeExtensions

    Methods

    ValidateRange(Range, Int64)

    Validates the range based on the supplied valid length

    Declaration
    public static Range ValidateRange(this Range r, long validLength)
    Parameters
    Type Name Description
    Range r
    System.Int64 validLength
    Returns
    Type Description
    Range
    Exceptions
    Type Condition
    RangeNotSatisfiableException

    If range is outside the valid length

    In This Article
    Back to top (c) Meriworks 2002-2022