Class SimpleVo<T>
Represents a simple value object with a generic identifier type.
Inherited Members
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 SourceSimpleVo()
Initializes a new instance of the SimpleVo<T> class.
Declaration
public SimpleVo()
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 SourceDescription
Gets or sets the description of the value object.
Declaration
public string? Description { get; set; }
Property Value
Type | Description |
---|---|
string |