Delegate BoxedTryCreate
Namespace: AdCodicem.ValueObjects.Metadata
Assembly: AdCodicem.ValueObjects.Abstractions.dll
Attempts to build a value object from a boxed underlying value.
public delegate bool BoxedTryCreate(object? value, out object? result, out ValidationResult validation)
Parameters
value object?
Boxed candidate value.
result object?
The boxed value object, or null when the value is rejected.
validation ValidationResult
The outcome of the validation.
Returns
true when the value was accepted.