Workflow Settings cleanup
This commit is contained in:
parent
14474db626
commit
8cd82b5a3c
|
|
@ -3,7 +3,7 @@ using Elsa.WorkflowSettings.Handlers;
|
|||
using Elsa.WorkflowSettings.Persistence;
|
||||
using Elsa.WorkflowSettings.Persistence.Decorators;
|
||||
using Elsa.WorkflowSettings.Providers;
|
||||
using Elsa.WorkflowSettings.Services.WorkflowSettings;
|
||||
using Elsa.WorkflowSettings.Services;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
namespace Elsa.WorkflowSettings.Extensions
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ using System.Threading;
|
|||
using System.Threading.Tasks;
|
||||
using Elsa.Events;
|
||||
using Elsa.WorkflowSettings.Models;
|
||||
using Elsa.WorkflowSettings.Services.WorkflowSettings;
|
||||
using Elsa.WorkflowSettings.Services;
|
||||
using MediatR;
|
||||
|
||||
namespace Elsa.WorkflowSettings.Handlers
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ using System.Threading;
|
|||
using System.Threading.Tasks;
|
||||
using Elsa.WorkflowSettings.Models;
|
||||
|
||||
namespace Elsa.WorkflowSettings.Services.WorkflowSettings
|
||||
namespace Elsa.WorkflowSettings.Services
|
||||
{
|
||||
public interface IWorkflowSettingsManager
|
||||
{
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
namespace Elsa.WorkflowSettings.Services.Models
|
||||
{
|
||||
public class WorkflowSettingsContext
|
||||
{
|
||||
/// <summary>
|
||||
/// Get workflow settings value filtered by Workflow Blueprint Id and Key
|
||||
/// </summary>
|
||||
/// <param name="workflowBlueprintId">Workflow Blueprint Id</param>
|
||||
/// <param name="key">Key</param>
|
||||
public WorkflowSettingsContext(string workflowBlueprintId, string key = "disabled")
|
||||
{
|
||||
WorkflowBlueprintId = workflowBlueprintId;
|
||||
Key = key;
|
||||
}
|
||||
|
||||
public string WorkflowBlueprintId { get; }
|
||||
public string Key { get; }
|
||||
public object? Value { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -4,7 +4,7 @@ using System.Threading.Tasks;
|
|||
using Elsa.WorkflowSettings.Models;
|
||||
using Elsa.WorkflowSettings.Providers;
|
||||
|
||||
namespace Elsa.WorkflowSettings.Services.WorkflowSettings
|
||||
namespace Elsa.WorkflowSettings.Services
|
||||
{
|
||||
public class WorkflowSettingsManager : IWorkflowSettingsManager
|
||||
{
|
||||
Loading…
Reference in a new issue