Innovt Platform
Search Results for

    Show / Hide Table of Contents

    Class SimpleVo<T>

    Represents a simple value object with a generic identifier type.

    Inheritance
    object
    ValueObject
    ValueObject<T>
    SimpleVo<T>
    Inherited Members
    ValueObject<T>.Id
    ValueObject.Equals(object)
    ValueObject.GetHashCode()
    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 class SimpleVo<T> : ValueObject<T> where T : struct
    Type Parameters
    Name Description
    T

    The type of the identifier.

    Constructors

    | Edit this page View Source

    SimpleVo()

    Initializes a new instance of the SimpleVo<T> class.

    Declaration
    public SimpleVo()
    | Edit this page View Source

    SimpleVo(T, string?)

    Initializes a new instance of the SimpleVo<T> class with the specified identifier and description.

    Declaration
    public SimpleVo(T id, string? description)
    Parameters
    Type Name Description
    T id

    The identifier.

    string description

    The description.

    Properties

    | Edit this page View Source

    Description

    Gets or sets the description of the value object.

    Declaration
    public string? Description { get; set; }
    Property Value
    Type Description
    string

    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