Class FromToList
- Namespace
- SunamoDevCode._public.SunamoData.Data
- Assembly
- SunamoDevCode.dll
Represents a list of from-to ranges and provides methods to check whether a value falls within any range.
public class FromToList
- Inheritance
-
FromToList
- Inherited Members
- Extension Methods
Properties
Ranges
Gets or sets the list of from-to range definitions.
public List<FromToDC> Ranges { get; set; }
Property Value
Methods
IsInRange(int)
Checks whether the given value falls within any of the defined ranges (exclusive boundaries).
public bool IsInRange(int value)
Parameters
valueintValue to check.
Returns
- bool
True if the value is within any range.