Delen via


RouteCollection.Add(IRouter) Method

Definition

Appends the collection of routes defined in router.

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

Parameters

router
IRouter

A IRouter instance.

Implements

Applies to