Class RangeExtension
Inheritance
System.Object
RangeExtension
Namespace: IronPPT.Models.Extensions
Assembly: IronPPT.dll
Syntax
public static class RangeExtension : Object
Methods
ToRange<T>(T, Double, Double)
Declaration
public static double ToRange<T>(this T value, double min, double max)
where T : struct, ValueType
Parameters
| Type | Name | Description |
|---|---|---|
| T | value | |
| System.Double | min | |
| System.Double | max |
Returns
| Type | Description |
|---|---|
| System.Double |
Type Parameters
| Name | Description |
|---|---|
| T |