public override string ToString()
        {
            DataKind rawKind = this.GetRawKind();

            if (Count > 0)
            {
                return(string.Format("Key<{0}, {1}-{2}>", rawKind.GetString(), Min, Min + (ulong)Count - 1));
            }
            if (Contiguous)
            {
                return(string.Format("Key<{0}, {1}-*>", rawKind.GetString(), Min));
            }
            // This is the non-contiguous case - simply show the Min.
            return(string.Format("Key<{0}, Min:{1}>", rawKind.GetString(), Min));
        }
Exemple #2
0
        public override string ToString()
        {
            DataKind rawKind = this.GetRawKind();

            return(string.Format("Key<{0}, {1}-{2}>", rawKind.GetString(), 0, Count - 1));
        }