Пример #1
0
            public bool Compare(VariantPair <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));
            }
Пример #2
0
 public VariantPair(VariantPair <KeyType> other)
 {
     Key = other.Key; Value = new Variant(other.Value);
 }