Class ConfigKeyRange
- Namespace
- MonkeyLoader.Configuration
- Assembly
- MonkeyLoader.dll
Contains some IConfigKeyRange<T> presets.
public static class ConfigKeyRange
- Inheritance
-
ConfigKeyRange
- Inherited Members
Methods
WithMax(byte)
Creates a new half-open range component with a maximum value.
public static IConfigKeyRange<byte> WithMax(byte max)
Parameters
maxbyteThe maximum value (inclusive).
Returns
- IConfigKeyRange<byte>
A new half-open range component.
WithMax(decimal)
Creates a new half-open range component with a maximum value.
public static IConfigKeyRange<decimal> WithMax(decimal max)
Parameters
maxdecimalThe maximum value (inclusive).
Returns
- IConfigKeyRange<decimal>
A new half-open range component.
WithMax(double)
Creates a new half-open range component with a maximum value.
public static IConfigKeyRange<double> WithMax(double max)
Parameters
maxdoubleThe maximum value (inclusive).
Returns
- IConfigKeyRange<double>
A new half-open range component.
WithMax(short)
Creates a new half-open range component with a maximum value.
public static IConfigKeyRange<short> WithMax(short max)
Parameters
maxshortThe maximum value (inclusive).
Returns
- IConfigKeyRange<short>
A new half-open range component.
WithMax(int)
Creates a new half-open range component with a maximum value.
public static IConfigKeyRange<int> WithMax(int max)
Parameters
maxintThe maximum value (inclusive).
Returns
- IConfigKeyRange<int>
A new half-open range component.
WithMax(long)
Creates a new half-open range component with a maximum value.
public static IConfigKeyRange<long> WithMax(long max)
Parameters
maxlongThe maximum value (inclusive).
Returns
- IConfigKeyRange<long>
A new half-open range component.
WithMax(float)
Creates a new half-open range component with a maximum value.
public static IConfigKeyRange<float> WithMax(float max)
Parameters
maxfloatThe maximum value (inclusive).
Returns
- IConfigKeyRange<float>
A new half-open range component.
WithMin(byte)
Creates a new half-open range component with a minimum value.
public static IConfigKeyRange<byte> WithMin(byte min)
Parameters
minbyteThe minimum value (inclusive).
Returns
- IConfigKeyRange<byte>
A new half-open range component.
WithMin(decimal)
Creates a new half-open range component with a minimum value.
public static IConfigKeyRange<decimal> WithMin(decimal min)
Parameters
mindecimalThe minimum value (inclusive).
Returns
- IConfigKeyRange<decimal>
A new half-open range component.
WithMin(double)
Creates a new half-open range component with a minimum value.
public static IConfigKeyRange<double> WithMin(double min)
Parameters
mindoubleThe minimum value (inclusive).
Returns
- IConfigKeyRange<double>
A new half-open range component.
WithMin(short)
Creates a new half-open range component with a minimum value.
public static IConfigKeyRange<short> WithMin(short min)
Parameters
minshortThe minimum value (inclusive).
Returns
- IConfigKeyRange<short>
A new half-open range component.
WithMin(int)
Creates a new half-open range component with a minimum value.
public static IConfigKeyRange<int> WithMin(int min)
Parameters
minintThe minimum value (inclusive).
Returns
- IConfigKeyRange<int>
A new half-open range component.
WithMin(long)
Creates a new half-open range component with a minimum value.
public static IConfigKeyRange<long> WithMin(long min)
Parameters
minlongThe minimum value (inclusive).
Returns
- IConfigKeyRange<long>
A new half-open range component.
WithMin(float)
Creates a new half-open range component with a minimum value.
public static IConfigKeyRange<float> WithMin(float min)
Parameters
minfloatThe minimum value (inclusive).
Returns
- IConfigKeyRange<float>
A new half-open range component.