Class KeepInRangeExtensions
- Namespace
- MudBlazor.Extensions
- Assembly
- MudBlazor.dll
public static class KeepInRangeExtensions
- Inheritance
-
KeepInRangeExtensions
- Inherited Members
-
Methods
EnsureRange(byte, byte)
public static byte EnsureRange(this byte input, byte max)
Parameters
input
byte
max
byte
Returns
- byte
EnsureRange(byte, byte, byte)
public static byte EnsureRange(this byte input, byte min, byte max)
Parameters
input
byte
min
byte
max
byte
Returns
- byte
EnsureRange(double, double)
public static double EnsureRange(this double input, double max)
Parameters
input
double
max
double
Returns
- double
EnsureRange(double, double, double)
public static double EnsureRange(this double input, double min, double max)
Parameters
input
double
min
double
max
double
Returns
- double
EnsureRange(int, int)
public static int EnsureRange(this int input, int max)
Parameters
input
int
max
int
Returns
- int
EnsureRange(int, int, int)
public static int EnsureRange(this int input, int min, int max)
Parameters
input
int
min
int
max
int
Returns
- int
EnsureRangeToByte(int)
public static byte EnsureRangeToByte(this int input)
Parameters
input
int
Returns
- byte