C# Class Microsoft.AspNetCore.Builder.SpaRouteExtensions

显示文件 Open project: aspnet/JavaScriptServices

Public Methods

Method Description
MapSpaFallbackRoute ( this routeBuilder, string name, object defaults, object constraints = null, object dataTokens = null ) : void
MapSpaFallbackRoute ( this routeBuilder, string name, string templatePrefix, object defaults, object constraints = null, object dataTokens = null ) : void

Private Methods

Method Description
CreateRouteTemplate ( string templatePrefix ) : string
ObjectToDictionary ( object value ) : object>.IDictionary

Method Details

MapSpaFallbackRoute() public static method

public static MapSpaFallbackRoute ( this routeBuilder, string name, object defaults, object constraints = null, object dataTokens = null ) : void
routeBuilder this
name string
defaults object
constraints object
dataTokens object
return void

MapSpaFallbackRoute() public static method

public static MapSpaFallbackRoute ( this routeBuilder, string name, string templatePrefix, object defaults, object constraints = null, object dataTokens = null ) : void
routeBuilder this
name string
templatePrefix string
defaults object
constraints object
dataTokens object
return void