Method EnsureInRange
EnsureInRange(TimeSpan, TimeSpan, TimeSpan)
Declaration
public static TimeSpan EnsureInRange(this TimeSpan value, TimeSpan min, TimeSpan max)
Parameters
Returns
EnsureInRange(int, int, int)
Declaration
public static int EnsureInRange(this int value, int min, int max)
Parameters
Type |
Name |
Description |
int |
value |
|
int |
min |
|
int |
max |
|
Returns
EnsureInRange(long, long, long)
Declaration
public static long EnsureInRange(this long value, long min, long max)
Parameters
Returns
EnsureInRange(double, double, double)
Declaration
public static double EnsureInRange(this double value, double min, double max)
Parameters
Returns
EnsureInRange(float, float, float)
Declaration
public static float EnsureInRange(this float value, float min, float max)
Parameters
Returns