Ejemplo n.º 1
0
        public bool Compare(KeyVariantPair <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));
        }
Ejemplo n.º 2
0
 public KeyVariantPair(KeyVariantPair <KeyType> other)
 {
     key = other.key; value = new Variant(other.value);
 }