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

Interface IValueObject<TValue>

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

A value object carrying a single value of type TValue.

public interface IValueObject<TValue> : IValueObject

Type Parameters​

TValue

Underlying value type.

Implements​

IValueObject

Properties​

Value​

Gets the carried value. Always normalized and always valid, unless the instance is default.

TValue Value { get; }

Property Value​

TValue