예제 #1
0
        public bool Add(TValue input, long blockPosition)
        {
            decimal fieldvalue  = getValue(input);
            double  doublevalue = Convert.ToDouble(fieldvalue);

            return(index.Add(doublevalue, blockPosition));
        }
예제 #2
0
        public bool Add(TValue input, long blockPosition)
        {
            TKey fieldvalue = GetValue(input);

            return(index.Add(fieldvalue, blockPosition));
        }