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)); }
public StratusKeyVariantPair(StratusKeyVariantPair <KeyType> other) { key = other.key; value = new StratusVariant(other.value); }