SingleValueObject<T> Class
Definition
Provides an implementation of ValueObject tailored for handling a single value.
public abstract record SingleValueObject<T> : ValueObject, IEquatable<ValueObject>, IEquatable<SingleValueObject<T>>
Type Parameters
TThe type of the object.
- Inheritance
-
SingleValueObject<T>
- Implements
- Inherited Members
Constructors
| Name | Description |
|---|---|
| SingleValueObject(T) | Initializes a new instance of the SingleValueObject<T> class. |
Properties
| Name | Description |
|---|---|
| Value | Gets the value of this instance. |
Methods
| Name | Description |
|---|---|
| GetEqualityComponents() | Gets the equality components of this instance. |
Operators
| Name | Description |
|---|---|
| implicit operator T(SingleValueObject<T>) | Performs an implicit conversion from SingleValueObject<T> to |