From ee6296d930f35f1fa791d5b5bc7039cb14714d42 Mon Sep 17 00:00:00 2001 From: Sipke Schoorstra Date: Mon, 20 Dec 2021 17:24:24 +0100 Subject: [PATCH] Revert file-scoped namespace --- .../Services/WorkflowTestingServerFeatureProvider.cs | 9 +++++---- .../Elsa.Server.Api/Services/IServerFeatureProvider.cs | 9 +++++---- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/src/modules/workflowtesting/Elsa.WorkflowTesting.Api/Services/WorkflowTestingServerFeatureProvider.cs b/src/modules/workflowtesting/Elsa.WorkflowTesting.Api/Services/WorkflowTestingServerFeatureProvider.cs index 3d914a79c..ff8aa0a1d 100644 --- a/src/modules/workflowtesting/Elsa.WorkflowTesting.Api/Services/WorkflowTestingServerFeatureProvider.cs +++ b/src/modules/workflowtesting/Elsa.WorkflowTesting.Api/Services/WorkflowTestingServerFeatureProvider.cs @@ -3,9 +3,10 @@ using System.Threading; using System.Threading.Tasks; using Elsa.Server.Api.Services; -namespace Elsa.WorkflowTesting.Api.Services; - -public class WorkflowTestingServerFeatureProvider : IServerFeatureProvider +namespace Elsa.WorkflowTesting.Api.Services { - public ValueTask> GetFeaturesAsync(CancellationToken cancellationToken) => ValueTask.FromResult>(new[] { "WorkflowTesting" }); + public class WorkflowTestingServerFeatureProvider : IServerFeatureProvider + { + public ValueTask> GetFeaturesAsync(CancellationToken cancellationToken) => ValueTask.FromResult>(new[] { "WorkflowTesting" }); + } } \ No newline at end of file diff --git a/src/server/Elsa.Server.Api/Services/IServerFeatureProvider.cs b/src/server/Elsa.Server.Api/Services/IServerFeatureProvider.cs index fb00580d8..64386bc7b 100644 --- a/src/server/Elsa.Server.Api/Services/IServerFeatureProvider.cs +++ b/src/server/Elsa.Server.Api/Services/IServerFeatureProvider.cs @@ -2,9 +2,10 @@ using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; -namespace Elsa.Server.Api.Services; - -public interface IServerFeatureProvider +namespace Elsa.Server.Api.Services { - ValueTask> GetFeaturesAsync(CancellationToken cancellationToken); + public interface IServerFeatureProvider + { + ValueTask> GetFeaturesAsync(CancellationToken cancellationToken); + } } \ No newline at end of file