Skip to content

Commit

Permalink
Remove ElsaClient and related interfaces
Browse files Browse the repository at this point in the history
Files ElsaClient.cs, IElsaClient.cs and IElsaClientFactory.cs have been deleted from the Elsa.Api.Client project. The commit also includes an update in the DependencyInjectionExtensions.cs file where IElsaClient service registration is removed, reflecting these changes.
  • Loading branch information
sfmskywalker committed Dec 29, 2023
1 parent 1d21cb3 commit 704d4cd
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 97 deletions.
37 changes: 0 additions & 37 deletions src/clients/Elsa.Api.Client/Contracts/IElsaClient.cs

This file was deleted.

14 changes: 0 additions & 14 deletions src/clients/Elsa.Api.Client/Contracts/IElsaClientFactory.cs

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Text.Json;
using System.Text.Json.Serialization;
using Elsa.Api.Client.Contracts;
using Elsa.Api.Client.Converters;
using Elsa.Api.Client.HttpMessageHandlers;
using Elsa.Api.Client.Options;
Expand All @@ -17,7 +16,6 @@
using Elsa.Api.Client.Resources.WorkflowDefinitions.Contracts;
using Elsa.Api.Client.Resources.WorkflowExecutionContexts.Contracts;
using Elsa.Api.Client.Resources.WorkflowInstances.Contracts;
using Elsa.Api.Client.Services;
using JetBrains.Annotations;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
Expand Down Expand Up @@ -66,7 +64,6 @@ public static IServiceCollection AddElsaClient(this IServiceCollection services,
configureBuilderOptions?.Invoke(builderOptions);

services.Configure(configureOptions ?? (_ => { }));
services.AddScoped<IElsaClient, ElsaClient>();
services.AddApi<IWorkflowDefinitionsApi>(builderOptions);
services.AddApi<IWorkflowInstancesApi>(builderOptions);
services.AddApi<IActivityDescriptorsApi>(builderOptions);
Expand Down
43 changes: 0 additions & 43 deletions src/clients/Elsa.Api.Client/Services/ElsaClient.cs

This file was deleted.

0 comments on commit 704d4cd

Please sign in to comment.