Innovt Platform
Search Results for

    Show / Hide Table of Contents

    Class ValueObject

    Represents a base class for value objects.

    Inheritance
    object
    ValueObject
    Address
    AddressType
    City
    Country
    State
    Bank
    BaseCreditCard
    Phone
    DomainModel<T>
    ValueObject<T>
    Document
    DocumentType
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Innovt.Domain.Core.Model
    Assembly: Innovt.Domain.Core.dll
    Syntax
    public abstract class ValueObject

    Properties

    | Edit this page View Source

    Id

    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 Source

    Equals(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

    true if the objects are considered equal; otherwise, false.

    Overrides
    object.Equals(object)
    | Edit this page View Source

    GetHashCode()

    Serves as the default hash function.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A hash code for the current value object.

    Overrides
    object.GetHashCode()

    Extension Methods

    Extensions.IsNull(object)
    Extensions.ToStringOrDefault(object)
    SimpleMapper.MapTo<T1>(object)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX