Expansion ValueObject [USERNAME] valueo
ValueTypeName ValueTypeName ValueTypeName PropertyType PropertyType string PropertyName PropertyName Value { public $ValueTypeName$($PropertyType$ $PropertyName$) { this.$PropertyName$ = $PropertyName$; } public $PropertyType$ $PropertyName$ { get; } public override int GetHashCode() { return this.$PropertyName$?.GetHashCode() ?? 0; } public override bool Equals(object obj) { return this.Equals(obj as $ValueTypeName$); } public bool Equals($ValueTypeName$ obj) { if (ReferenceEquals(obj, null)) { return false; } return obj.Value == this.Value; } public static bool operator ==($ValueTypeName$ a, $ValueTypeName$ b) { if (ReferenceEquals(a, null) && ReferenceEquals(b, null)) { return true; } if (ReferenceEquals(a, null) || ReferenceEquals(b, null)) { return false; } return a.Equals(b); } public static bool operator !=($ValueTypeName$ a, $ValueTypeName$ b) { return !(a == b); } }]]>