* WIP #667 - Webhook activity project * WIP #667 - Webhook definition with InMemoryStore * WIP #667 - Add Webhook activity provider * Prevent part assembly generation See https://github.com/dotnet/aspnetcore/issues/24171 * Make optional args optional * Small changes * Move Refit client api to ElsaClient Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
27 lines
966 B
C#
27 lines
966 B
C#
using Elsa.Client.Services;
|
|
|
|
namespace Elsa.Client
|
|
{
|
|
public class ElsaClient : IElsaClient
|
|
{
|
|
public ElsaClient(
|
|
IActivitiesApi activities,
|
|
IWorkflowDefinitionsApi workflowDefinitions,
|
|
IWorkflowRegistryApi workflowRegistry,
|
|
IWorkflowInstancesApi workflowInstances,
|
|
IWebhookDefinitionsApi webhookDefinitions)
|
|
{
|
|
Activities = activities;
|
|
WorkflowDefinitions = workflowDefinitions;
|
|
WorkflowRegistry = workflowRegistry;
|
|
WorkflowInstances = workflowInstances;
|
|
WebhookDefinitions = webhookDefinitions;
|
|
}
|
|
|
|
public IActivitiesApi Activities { get; }
|
|
public IWorkflowDefinitionsApi WorkflowDefinitions { get; }
|
|
public IWorkflowRegistryApi WorkflowRegistry { get; }
|
|
public IWorkflowInstancesApi WorkflowInstances { get; }
|
|
public IWebhookDefinitionsApi WebhookDefinitions { get; }
|
|
}
|
|
} |