Example #1
0
        public bool Compare(StratusKeyVariantPair <KeyType> other)
        {
            // https://msdn.microsoft.com/en-us/library/system.icomparable(v=vs.110).aspx
            if (this.key.CompareTo(other.key) < 0)
            {
                return(false);
            }

            return(this.value.Compare(other.value));
        }
Example #2
0
 public StratusKeyVariantPair(StratusKeyVariantPair <KeyType> other)
 {
     key = other.key; value = new StratusVariant(other.value);
 }