Class PageModelBinder<T>
Model binder for binding URL parameters into properties.
public abstract class PageModelBinder<T>
Type Parameters
T
- Inheritance
-
objectPageModelBinder<T>
- Derived
- Extension Methods
Constructors
PageModelBinder(string)
Creates a new instance of the PageModelBinder<T> class.
protected PageModelBinder(string parameterName)
Parameters
parameterName
string
Fields
parameterName
Name of the URL parameter used for binding.
protected readonly string parameterName
Field Value
- string
Methods
Bind(PageRouteValues)
Returns a bound instance of the model.
public abstract Task<T> Bind(PageRouteValues routeValues)
Parameters
routeValues
PageRouteValues
Returns
- Task<T>