Interface IRouteParamsModel<TSelf>
Represents a model that aggregates multiple route parameters and supports conversion to and from a RouteValuesCollection.
Namespace: Singulink.UI.Navigation
Assembly: Singulink.UI.Navigation.dll
Syntax
public interface IRouteParamsModel<TSelf> where TSelf : IRouteParamsModel<TSelf>
Type Parameters
| Name | Description |
|---|---|
| TSelf | The implementing type. |
Properties
| Name | Description |
|---|---|
| ProvidesRemainingQueryAccess | Gets a value indicating whether this model provides access to remaining (unconsumed) query string parameters. |
| RequiredParameterNames | Gets the names of required parameters. A view model's route does not match if any required parameters are missing. |
Methods
| Name | Description |
|---|---|
| TryCreate(RouteValuesCollection, out TSelf) | Attempts to create an instance from the given RouteValuesCollection. Returns false if required parameters are missing, indicating the view model's route does not match. |