Example #1
0
    public override T Map(double key)
    {
        if (!palette.TryGetValue(key, out var result))
        {
            return(na);
        }

        return(result);
    }
Example #2
0
        public override T Map(double key, bool ignoreLimits = false)
        {
            if (!palette.TryGetValue(key, out var result))
            {
                return(na);
            }

            return(result);
        }