# Microsoft.AspNetCore.Components.RouteAttribute

- Kind: attribute
- Namespace: `Microsoft.AspNetCore.Components`
- Assembly: `Sandbox.Engine`

## Constructors

- [`RouteAttribute`](/api/Microsoft.AspNetCore.Components.RouteAttribute/.ctor)

## Properties

- [`Parts`](/api/Microsoft.AspNetCore.Components.RouteAttribute/Parts): The url split into parts (ie "home" "section" "page" )
- [`Url`](/api/Microsoft.AspNetCore.Components.RouteAttribute/Url): The full url of this route (ie "/home/section/page")

## Methods

- [`ExtractProperties`](/api/Microsoft.AspNetCore.Components.RouteAttribute/ExtractProperties): Given a Url, check for {properties} and convert them to key values
- [`FindValidTarget`](/api/Microsoft.AspNetCore.Components.RouteAttribute/FindValidTarget): Given a URL, check out TypeLibrary and find a valid target
- [`IsUrl`](/api/Microsoft.AspNetCore.Components.RouteAttribute/IsUrl): True if this matches the passed in url. Queries are trimmed and ignored `( ?query=fff )` Variables are tested (but not type matched or anything)
