Table of Contents

Namespace The.Values

Classes

Box<T>
ConversionFailureException
ConversionResult

Provides factory methods for creating conversion results.

Conversions

Custom type-conversion logic for converting view data to model data

ConvertedOwnedValue<T, U>
ConvertedOwnedValue<T, U, S>
ConvertedValue<T, U>
ConvertedValue<T, U, S>
Decimals
FailValidationRule

Validation rule which always fails.

ImmutableValue

Represents an immutable value that never changes.

ImmutableValue<T>

Represents an immutable value of a specific type.

Lens
Lens<T>
ParseValidationRule

Validation rule which fails when the text input into the field cannot be parsed into the correct type

Range<T>
RequiredValidationRule

Validation Rule which checks whether the field has a value

RuleExtensions
Rules
Traits
Traits.Any

The default trait, with no special rules

Traits.Currency
Traits.Date
Traits.Multiline
Traits.Time
UITraits
UITraits.Constraint
UITraits.DateTime
UITraits.Guid
UITraits.Inclusive
UITraits.Nullable
UITraits.Password
Validation
ValidationResult
ValidationResultTypeExtensions
ValidationResults
ValidationRule<T>

Validation rule which uses a Rule function (sync or async) to evaluate

ValidationRules

Factory methods for rules

ValidationScope

The Scope of a set of Validation Rules determines when those rules will be triggered, and can optionally also apply a Condition (which is an expression evaluated against the Entity being validated)

ValidationScope<T>
ValueExtensions
WrappedValidationScope<T>

Structs

ConversionResult<T>

Represents the result of a value conversion, including success/failure and the converted value.

Interfaces

IConversionResult<T>
IOwnedValue<T>

a Value which is potentially, but not necessarily, owned by an Entity

IValidatable

Interface for UI fields that can be validated using ValidationRule, ValidationScope, and ValidationContext

IValidatable<T>
IValidationRule

Interface for ValidationRules which contain information about how to evaluate the validation rule, as well as how to trigger the validation

IValue<T>

represents storage of or access to change-tracked data

Enums

ConversionResultType
ValidationResultType
ValidationScope.TriggerEnum

Indicates when the validation should be triggered

ValidationSeverity

Delegates

AsyncRule<T>
Rule<T>