Skip to main content
Version: Preview (0.3.0-preview.205)

Interface IValueObjectMaximum<TValue>

Namespace: AdCodicem.ValueObjects
Assembly: AdCodicem.ValueObjects.Abstractions.dll

Declares the inclusive upper bound of a value object, as a value of its underlying type.

public interface IValueObjectMaximum<TValue>

Type Parameters​

TValue

Underlying value type: a number, a , a date, a time or a duration.

Remarks​

The bound is checked, published and read as describes.

Properties​

Maximum​

Gets the largest value the value object accepts.

public static abstract TValue Maximum { get; }

Property Value​

TValue