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