Workflow Engine .NET

Assembly: OptimaJet.Workflow.RealTimeTrackingPlugin

Class RealTimeTrackingExtensions

OptimaJet.Workflow.RealTimeTrackingPlugin.RealTimeTrackingExtensions

Extension methods for RealTimeTrackingPlugin.

public static class RealTimeTrackingExtensions

Inheritance

  • System.Object

Methods

public static HubEndpointConventionBuilder MapRealTimeTracking(this IEndpointRouteBuilder endpoints, string pattern = "/workflowHub") #
Maps real-time tracking to the application by adding a signalR hub endpoint.

Parameters

Name
Type
Description
endpoints
IEndpointRouteBuilder
The IEndpointRouteBuilder to map the real-time tracking endpoint to.
pattern
String
The pattern to match for the real-time tracking endpoint. Default value is "/workflowHub".

Returns

Type
Description
HubEndpointConventionBuilder
The HubEndpointConventionBuilder used to further configure the real-time tracking endpoint.
public static IServiceCollection AddRealTimeTracking(this IServiceCollection services) #
Adds real-time tracking to the application.

Parameters

Name
Type
Description
services
IServiceCollection
The IServiceCollection to add the real-time tracking services to.

Returns

Type
Description
IServiceCollection
The updated IServiceCollection.