public int CompareTo(IValue other) { GuidWrapper otherUuid = other.GetRawValue() as GuidWrapper; if (otherUuid == null) { throw RuntimeException.ComparisonNotSupportedException(); } return(_value.CompareTo(otherUuid._value)); }
public bool Equals(IValue other) { GuidWrapper otherUuid = other.GetRawValue() as GuidWrapper; if (otherUuid == null) { return(false); } else { return(_value.Equals(otherUuid._value)); } }