Class ValueObject
Represents a base class for value objects.
Inheritance
ValueObject
Inherited Members
Namespace: Innovt.Domain.Core.Model
Assembly: Innovt.Domain.Core.dll
Syntax
public abstract class ValueObject
Properties
| Edit this page View SourceId
Gets or sets the identifier for the value object.
Declaration
public virtual int Id { get; set; }
Property Value
Type | Description |
---|---|
int |
Methods
| Edit this page View SourceEquals(object)
Determines whether the current value object is equal to another object.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to compare with the current value object. |
Returns
Type | Description |
---|---|
bool |
|
Overrides
| Edit this page View SourceGetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A hash code for the current value object. |