Revert file-scoped namespace
This commit is contained in:
parent
56f70ea9e2
commit
ee6296d930
|
|
@ -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<IEnumerable<string>> GetFeaturesAsync(CancellationToken cancellationToken) => ValueTask.FromResult<IEnumerable<string>>(new[] { "WorkflowTesting" });
|
||||
public class WorkflowTestingServerFeatureProvider : IServerFeatureProvider
|
||||
{
|
||||
public ValueTask<IEnumerable<string>> GetFeaturesAsync(CancellationToken cancellationToken) => ValueTask.FromResult<IEnumerable<string>>(new[] { "WorkflowTesting" });
|
||||
}
|
||||
}
|
||||
|
|
@ -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<IEnumerable<string>> GetFeaturesAsync(CancellationToken cancellationToken);
|
||||
public interface IServerFeatureProvider
|
||||
{
|
||||
ValueTask<IEnumerable<string>> GetFeaturesAsync(CancellationToken cancellationToken);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue