Table of Contents

Class ValueObjectBuilder<T>

Namespace
JD.Domain.Modeling
Assembly
JD.Domain.Modeling.dll

Fluent builder for constructing value object manifests.

public sealed class ValueObjectBuilder<T> where T : class

Type Parameters

T

The value object type.

Inheritance
ValueObjectBuilder<T>
Inherited Members

Constructors

ValueObjectBuilder()

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

public ValueObjectBuilder()

Methods

WithMetadata(string, object?)

Adds metadata to the value object.

public ValueObjectBuilder<T> WithMetadata(string key, object? value)

Parameters

key string

The metadata key.

value object

The metadata value.

Returns

ValueObjectBuilder<T>

The value object builder for chaining.