s&
newspaperAbout
infoAbout s&box newspaperLatest News published_with_changesChanges mapRoadmap monitoringMetrics
gamesGames
sports_esportsBrowse Games rocketDiscover Games
business_centerWorkshop
sports_esportsGames landscapeMaps chairModels textureMaterials apparelClothing constructionMore..
forumForum docsDocs
docsDocumentation dashboardApi Reference schoolTutorials
inputLog in with Steam chevron_leftChange Language
简体中文EnglishРусскийEspañolPortuguês-BrasilDeutsch日本語FrançaisPolskiTürkçe한국어PirateItalianoไทย繁體中文УкраїнськаČeštinaNederlandsMagyarDanskSuomiSvenskaNorskΕλληνικάRomânăБългарскиTiếng ViệtBahasa IndonesiaEspañol-Latinoaméricaالعربية
Api
Attributes
RouteAttribute
chevron_left Attributes
attribute
RouteAttribute

Constructors

functionsRouteAttribute

Properties

data_objectPartsdata_objectUrl

Methods

functionsExtractPropertiesfunctionsIsUrl

Static Methods

functionsFindValidTarget
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.
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter