Class ValueObject
Namespace: Common.Primitives
Assembly: Common.dll
Common.Primitives.ValueObject is a abstract class that define method relative to type of objects that are property of an entity without the need of being identifiable. Doesn't contain any Guid or ID as it isn't retrievable and shouldn't be retrievable as an entity.
Inheritance
object ← ValueObject
Derived
Inherited Members
object.Equals\(object?\), object.Equals\(object?, object?\), object.GetHashCode\(\), object.GetType\(\), object.MemberwiseClone\(\), object.ReferenceEquals\(object?, object?\), object.ToString\(\)
Methods
Equals\(object?\)
Determines whether the specified object is equal to the current object.
Parameters
obj object?
The object to compare with the current object.
Returns
true if the specified object is equal to the current object; otherwise, false.
GetCopy\(\)
Returns
ValueObject?
GetEqualityComponents\(\)
Returns
IEnumerable < object \>
GetHashCode\(\)
Serves as the default hash function.
Returns
A hash code for the current object.
NotEqualOperator\(ValueObject, ValueObject\)
Parameters
left ValueObject
right ValueObject