Interface IValueObject
Namespace: AdCodicem.ValueObjects
Assembly: AdCodicem.ValueObjects.Abstractions.dll
Non-generic marker implemented by every single-value value object.
public interface IValueObject
Remarks
Reflection-driven integrations (OpenAPI schema transformers, EF Core conventions, model binder providers)
test for this interface because a single IsAssignableTo check is far cheaper than walking the
generic interface list of a type.
Methods
GetBoxedValue()
Gets the carried value, boxed.
object? GetBoxedValue()
Returns
The underlying value.
Remarks
Reserved for reflection-driven code paths; prefer the strongly typed Value property.