Click or drag to resize
RouteCollectionExtensionsAddCommand Method

[Missing <summary> documentation for "M:Hangfire.Dashboard.RouteCollectionExtensions.AddCommand(Hangfire.Dashboard.RouteCollection,System.String,System.Func{Hangfire.Dashboard.RequestDispatcherContext,System.Boolean})"]

Namespace: Hangfire.Dashboard
Assembly: Hangfire.Core (in Hangfire.Core.dll) Version: 1.5.0.0
Syntax
public static void AddCommand(
	[NotNullAttribute] this RouteCollection routes,
	[NotNullAttribute] string pathTemplate,
	[NotNullAttribute] Func<RequestDispatcherContext, bool> command
)

Parameters

routes
Type: Hangfire.DashboardRouteCollection

[Missing <param name="routes"/> documentation for "M:Hangfire.Dashboard.RouteCollectionExtensions.AddCommand(Hangfire.Dashboard.RouteCollection,System.String,System.Func{Hangfire.Dashboard.RequestDispatcherContext,System.Boolean})"]

pathTemplate
Type: SystemString

[Missing <param name="pathTemplate"/> documentation for "M:Hangfire.Dashboard.RouteCollectionExtensions.AddCommand(Hangfire.Dashboard.RouteCollection,System.String,System.Func{Hangfire.Dashboard.RequestDispatcherContext,System.Boolean})"]

command
Type: SystemFuncRequestDispatcherContext, Boolean

[Missing <param name="command"/> documentation for "M:Hangfire.Dashboard.RouteCollectionExtensions.AddCommand(Hangfire.Dashboard.RouteCollection,System.String,System.Func{Hangfire.Dashboard.RequestDispatcherContext,System.Boolean})"]

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 Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also