Namespace Trellis.Asp.ModelBinding
Classes
- MaybeModelBinder<TValue, TPrimitive>
Model binder for Maybe<T> parameters where
TValueimplements IScalarValue<TSelf, TPrimitive>. Binds optional route, query, form, and header parameters to Maybe<T>.
- MaybePrimitiveModelBinder<T>
Model binder for
Maybe<T>parameters whereTis an STJ-native primitive in the closed allowed list defined by SupportedPrimitives. Binds optional route, query, form, and header parameters into Maybe<T>.
- ScalarValueModelBinderBase<TResult, TValue, TPrimitive>
Base model binder for scalar value types that handles primitive conversion, validation via
TryCreate, and error collection.
- ScalarValueModelBinderProvider
Detects scalar value types and Maybe<T> wrapping scalar value types, and provides model binders for them.
- ScalarValueModelBinder<TValue, TPrimitive>
Model binder for scalar value types. Validates scalar values during model binding by calling TryCreate.