Namespace The.Values
Classes
- ConversionResult
Provides factory methods for creating conversion results.
- Conversions
Custom type-conversion logic for converting view data to model data
- FailValidationRule
Validation rule which always fails.
- ImmutableValue
Represents an immutable value that never changes.
- ImmutableValue<T>
Represents an immutable value of a specific type.
- ParseValidationRule
Validation rule which fails when the text input into the field cannot be parsed into the correct type
- RequiredValidationRule
Validation Rule which checks whether the field has a value
- Traits.Any
The default trait, with no special rules
- 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)
Structs
- ConversionResult<T>
Represents the result of a value conversion, including success/failure and the converted value.
Interfaces
- 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
- 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
- ValidationScope.TriggerEnum
Indicates when the validation should be triggered