Dela via


IRouteCollection.Add(IRouter) Method

Definition

Appends the collection of routes defined in router.

public:
 void Add(Microsoft::AspNetCore::Routing::IRouter ^ router);
public void Add (Microsoft.AspNetCore.Routing.IRouter router);
abstract member Add : Microsoft.AspNetCore.Routing.IRouter -> unit
Public Sub Add (router As IRouter)

Parameters

router
IRouter

A IRouter instance.

Applies to