Class IntPageModelBinder
Binds integer URL parameters into page properties.
public class IntPageModelBinder : PageModelBinder<int>
- Inheritance
-
objectPageModelBinder<int>IntPageModelBinder
- Inherited Members
- Extension Methods
Constructors
IntPageModelBinder(string)
Creates a new instance of the IntPageModelBinder.
public IntPageModelBinder(string parameterName)
Parameters
parameterName
stringParameter name
Methods
Bind(PageRouteValues)
Returns a bound instance of the model.
public override Task<int> Bind(PageRouteValues routeValues)
Parameters
routeValues
PageRouteValues
Returns
- Task<int>