s&
About
The Project
info
About s&box
map
Roadmap
monitoring
Metrics
Engine startup and usage numbers
Updates
newspaper
Latest News
published_with_changes
Changes
Release-by-release changelog
Games
Browse Games
Discover Games
gamejams
Workshop
Playable
sports_esports
Games
Standalone games and gamemodes
Assets
landscape
Maps
view_in_ar
Models
texture
Materials
apparel
Clothing
apps
Everything
Every asset type in one list
Forum
Learn
Documentation
rocket_launch
Getting Started
docs
Documentation
api
API Reference
Resources
school
Tutorials
manage_search
Code Search
Get s&box
Sign in with Steam
Api
Attributes
RouteAttribute
chevron_left
Attributes
attribute
RouteAttribute
Constructors
functions
RouteAttribute
Properties
data_object
Parts
data_object
Url
Methods
functions
ExtractProperties
functions
IsUrl
Static Methods
functions
FindValidTarget
RouteAttribute
attribute
Microsoft.AspNetCore.Components
.
Sandbox.Engine
build
Constructors
1
RouteAttribute
(
url
)
data_object
Properties
2
Parts
String[]
The url split into parts (ie "home" "section" "page" )
Url
string
The full url of this route (ie "/home/section/page")
functions
Methods
2
ExtractProperties
(
url
)
IEnumerable`1
Given a Url, check for {properties} and convert them to key values
IsUrl
(
url
)
bool
True if this matches the passed in url. Queries are trimmed and ignored
( ?query=fff )
Variables are tested (but not type matched or anything)
functions
Static Methods
1
FindValidTarget
(
url
,
parentUrl
)
Nullable`1
Given a URL, check out TypeLibrary and find a valid target
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.