Class RangeExtensions
Represents a set of extension methods for Range<T> structs.
Представляет набор методов расширения для структур Range<T>.
Namespace: Platform.Ranges
Assembly: Platform.Ranges.dll
Syntax
public static class RangeExtensions : object
Methods
| Improve this Doc View SourceDifference(Range<Byte>)
Declaration
public static byte Difference(this Range<byte> range)
Parameters
Type | Name | Description |
---|---|---|
Range<Byte> | range | The range of Диапазон значений |
Returns
Type | Description |
---|---|
Byte |
Difference(Range<Decimal>)
Declaration
public static decimal Difference(this Range<decimal> range)
Parameters
Type | Name | Description |
---|---|---|
Range<Decimal> | range | The range of Диапазон значений |
Returns
Type | Description |
---|---|
Decimal |
Difference(Range<Double>)
Declaration
public static double Difference(this Range<double> range)
Parameters
Type | Name | Description |
---|---|---|
Range<Double> | range | The range of Диапазон значений |
Returns
Type | Description |
---|---|
Double |
Difference(Range<Int16>)
Declaration
public static short Difference(this Range<short> range)
Parameters
Type | Name | Description |
---|---|---|
Range<Int16> | range | The range of Диапазон значений |
Returns
Type | Description |
---|---|
Int16 |
Difference(Range<Int32>)
Declaration
public static int Difference(this Range<int> range)
Parameters
Type | Name | Description |
---|---|---|
Range<Int32> | range | The range of Диапазон значений |
Returns
Type | Description |
---|---|
Int32 |
Difference(Range<Int64>)
Declaration
public static long Difference(this Range<long> range)
Parameters
Type | Name | Description |
---|---|---|
Range<Int64> | range | The range of Диапазон значений |
Returns
Type | Description |
---|---|
Int64 |
Difference(Range<SByte>)
Declaration
public static sbyte Difference(this Range<sbyte> range)
Parameters
Type | Name | Description |
---|---|---|
Range<SByte> | range | The range of Диапазон значений |
Returns
Type | Description |
---|---|
SByte |
Difference(Range<Single>)
Declaration
public static float Difference(this Range<float> range)
Parameters
Type | Name | Description |
---|---|---|
Range<Single> | range | The range of Диапазон значений |
Returns
Type | Description |
---|---|
Single |
Difference(Range<UInt16>)
Declaration
public static ushort Difference(this Range<ushort> range)
Parameters
Type | Name | Description |
---|---|---|
Range<UInt16> | range | The range of Диапазон значений |
Returns
Type | Description |
---|---|
UInt16 |
Difference(Range<UInt32>)
Declaration
public static uint Difference(this Range<uint> range)
Parameters
Type | Name | Description |
---|---|---|
Range<UInt32> | range | The range of Диапазон значений |
Returns
Type | Description |
---|---|
UInt32 |
Difference(Range<UInt64>)
Declaration
public static ulong Difference(this Range<ulong> range)
Parameters
Type | Name | Description |
---|---|---|
Range<UInt64> | range | The range of Диапазон значений |
Returns
Type | Description |
---|---|
UInt64 |