HAKOM.Serialization.Http.Net.Api Namespace
Contains the public API surface for HTTP serialization integration, including custom model binders (ICustomModelBinder, CustomModelFromBodyBinder<TModel>, CustomModelFromQueryBinder<TModel>, CustomModelFromRouteBinder<TModel>, StructModelBinder<TModel>), the FromPrefixedQueryAttribute for prefixed query parameter binding, PrefixedQueryBindingSource for custom binding source metadata, and QueryParameter for describing query parameters in API documentation.
| Classes | |
|---|---|
| CustomModelFromBodyBinder<TModel> | Abstract base class for custom model binders that bind a model of type TModel from the HTTP request body. |
| CustomModelFromQueryBinder<TModel> | Abstract base class for custom model binders that bind a model of type TModel from query string parameters. |
| CustomModelFromRouteBinder<TModel> | Abstract base class for custom model binders that bind a model of type TModel from route values. |
| FromPrefixedQueryAttribute | Specifies that a parameter or property should be bound from query string parameters using the specified prefix. |
| PrefixedQueryBindingSource | A Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource that represents query string parameters with a common prefix. |
| StructModelBinder<TModel> | Abstract base class for custom model binders that bind a struct of type TModel from a single value using TryParse(string). |
| Structs | |
|---|---|
| QueryParameter | Defines a query parameter that is used to define a complex type in a query. |
| Interfaces | |
|---|---|
| ICustomModelBinder | Extends Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder with the ability to determine whether a specific model type and binding source can be handled. |
| ICustomModelFromQueryBinder | Extends ICustomModelBinder for binders that bind a model from query string parameters and expose their parameter metadata. |
Was this page helpful?Thanks for your feedback!