RouteCollectionExtensions.MapOwinPath<TApp> Method (RouteCollection, String, TApp)

Zaregistruje trasu pro specifický vstupní bod aplikace OWIN.

Namespace:  System.Web.Routing
Assembly:  Microsoft.Owin.Host.SystemWeb (in Microsoft.Owin.Host.SystemWeb.dll)

public static RouteBase MapOwinPath<TApp>(
	this RouteCollection routes,
	string pathBase,
	TApp app
)

Type Parameters

TApp

Typ vstupního bodu aplikace OWIN.

Parameters

routes
Type: System.Web.Routing.RouteCollection
Kolekce tras
pathBase
Type: System.String
Cesta trasy, která má být namapována na danou aplikaci OWIN.
app
Type: TApp
Vstupní bod aplikace OWIN.

Return Value

Type: System.Web.Routing.RouteBase
Vytvořená trasa.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type RouteCollection. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/cs-cz/library/bb384936(v=vs.111).aspx or https://msdn.microsoft.com/cs-cz/library/bb383977(v=vs.111).aspx.
Zobrazit: