SearchMode
StockSharp.Xaml.Charting.Common.Extensions
Enumeration constants to define binary searching of lists
Fields
Exact
public const SearchMode Exact
value = SearchMode.Exact
Specifies exact search. If the index is not found, -1 is returned.
Nearest
public const SearchMode Nearest
value = SearchMode.Nearest
Specifies the nearest index. This will round up or down if the search is in-between x-values
RoundDown
public const SearchMode RoundDown
value = SearchMode.RoundDown
Rounds down to the nearest index.