Method TryCreate
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.
Declaration
public static abstract bool TryCreate(RouteValuesCollection values, out TSelf result)
Parameters
| Type | Name | Description |
|---|---|---|
| RouteValuesCollection | values | |
| TSelf | result |
Returns
| Type | Description |
|---|---|
| bool |