Class RangeExtensions
Summary description for RangeExtensions.
Inheritance
System.Object
RangeExtensions
Namespace: ImageVault.Common.Lib.Web
Assembly: ImageVault.Common.dll
Syntax
public static class RangeExtensions : Object
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 |