# Microsoft.AspNetCore.Components.RouteAttribute.FindValidTarget

```csharp
static System.Nullable<System.ValueTuple<TypeDescription,RouteAttribute>> FindValidTarget(string url, string parentUrl)
```

Given a URL, check out TypeLibrary and find a valid target

### Parameters

- `url` (`string`)
- `parentUrl` (`string`)

### Returns

`System.Nullable<System.ValueTuple<TypeDescription,RouteAttribute>>`

Declared in [Microsoft.AspNetCore.Components.RouteAttribute](/api/Microsoft.AspNetCore.Components.RouteAttribute).
Assembly: `Sandbox.Engine`.
