public int CompareTo(ValueObjectBase <TValueObject> other) { var thisValue = Dehydrate(); var otherValue = other.Dehydrate(); return(string.Compare(thisValue, otherValue, StringComparison.Ordinal)); }
public static bool HasValue <TValue>(this ValueObjectBase <TValue> valueObject) { return(valueObject != (ValueObjectBase <TValue>)null); }