Remove unused namespaces
This commit is contained in:
parent
509e7c2119
commit
3cfc2ad665
|
|
@ -3,7 +3,6 @@ using Elsa.Activities.Timers.Options;
|
|||
using Elsa.Activities.Timers.Quartz.Jobs;
|
||||
using Elsa.Activities.Timers.Quartz.Services;
|
||||
using Elsa.Activities.Timers.Services;
|
||||
using Elsa.Services;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Quartz;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
using System.Threading.Tasks;
|
||||
using Elsa.Activities.Timers.Quartz.Services;
|
||||
using Elsa.DistributedLock;
|
||||
using Elsa.Models;
|
||||
using Elsa.Persistence;
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@ using System.Threading.Tasks;
|
|||
using Elsa.Models;
|
||||
using Elsa.Services;
|
||||
using Elsa.Services.Models;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace Elsa
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,6 +1,4 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Elsa.Comparers;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using NodaTime;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
using System;
|
||||
using System.Threading.Tasks;
|
||||
using Elsa.DistributedLock;
|
||||
using Elsa.Exceptions;
|
||||
using Elsa.Messages;
|
||||
using Elsa.Models;
|
||||
using Elsa.Persistence;
|
||||
|
|
|
|||
|
|
@ -22,7 +22,6 @@ using Rebus.Routing.TypeBased;
|
|||
using Rebus.Transport.InMem;
|
||||
using Storage.Net;
|
||||
using Storage.Net.Blobs;
|
||||
using LogLevel = Rebus.Logging.LogLevel;
|
||||
|
||||
namespace Elsa
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
using MediatR;
|
||||
using MediatR.Registration;
|
||||
|
||||
namespace Elsa.Indexing.Extensions
|
||||
|
|
@ -13,9 +11,9 @@ namespace Elsa.Indexing.Extensions
|
|||
var indexingOptions = new ElsaIndexingOptions(options.Services);
|
||||
configure.Invoke(indexingOptions);
|
||||
|
||||
ServiceRegistrar.AddMediatRClasses(options.Services,new[] { Assembly.GetExecutingAssembly() });
|
||||
ServiceRegistrar.AddMediatRClasses(options.Services, new[] { Assembly.GetExecutingAssembly() });
|
||||
|
||||
return options;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,7 +1,6 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
using Elsa.Indexing.Models;
|
||||
|
||||
namespace Elsa.Indexing.Services
|
||||
|
|
@ -14,6 +13,6 @@ namespace Elsa.Indexing.Services
|
|||
int from = 0,
|
||||
int take = 20,
|
||||
CancellationToken cancellationToken = default
|
||||
);
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,7 +1,6 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
using Elsa.Indexing.Models;
|
||||
using Elsa.Models;
|
||||
|
||||
|
|
@ -9,7 +8,6 @@ namespace Elsa.Indexing.Services
|
|||
{
|
||||
public interface IWorkflowInstanceSearch
|
||||
{
|
||||
|
||||
Task<List<WorkflowInstanceIndexModel>> SearchAsync(string search,
|
||||
string? contextType = null,
|
||||
string? contextId = null,
|
||||
|
|
@ -20,17 +18,17 @@ namespace Elsa.Indexing.Services
|
|||
int from = 0,
|
||||
int take = 20,
|
||||
CancellationToken cancellationToken = default
|
||||
);
|
||||
);
|
||||
|
||||
Task<List<WorkflowInstanceIndexModel>> SearchAsync<TContext>(string search,
|
||||
string? contextId,
|
||||
string? definitionId = null,
|
||||
string? tenantId = null,
|
||||
WorkflowStatus? workflowStatus = null,
|
||||
string? correlationId = null,
|
||||
int from = 0,
|
||||
int take = 20,
|
||||
CancellationToken cancellationToken = default
|
||||
);
|
||||
string? contextId,
|
||||
string? definitionId = null,
|
||||
string? tenantId = null,
|
||||
WorkflowStatus? workflowStatus = null,
|
||||
string? correlationId = null,
|
||||
int from = 0,
|
||||
int take = 20,
|
||||
CancellationToken cancellationToken = default
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,6 +1,4 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
using Elsa.Models;
|
||||
|
||||
using Nest;
|
||||
|
|
|
|||
|
|
@ -1,11 +1,8 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
using AutoMapper;
|
||||
|
||||
using Elsa.Attributes;
|
||||
using Elsa.Extensions;
|
||||
using Elsa.Indexing.Extensions;
|
||||
using Elsa.Indexing.Models;
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@ using System.Linq;
|
|||
using System.Linq.Expressions;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using AutoMapper;
|
||||
using Elsa.Models;
|
||||
using Elsa.Persistence.Specifications;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
using System;
|
||||
using System.Linq.Expressions;
|
||||
using AutoMapper;
|
||||
using Elsa.Models;
|
||||
using Elsa.Persistence.Specifications;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
|
|
|||
|
|
@ -3,8 +3,6 @@ using System;
|
|||
using Elsa.Persistence.EntityFramework.Core;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
using Microsoft.EntityFrameworkCore.Metadata;
|
||||
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||||
|
||||
namespace Elsa.Persistence.EntityFramework.SqlServer.Migrations
|
||||
{
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@ using System;
|
|||
using Elsa.Persistence.EntityFramework.Core;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||||
|
||||
namespace Elsa.Persistence.EntityFramework.Sqlite.Migrations
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,11 +1,8 @@
|
|||
using Elsa.Activities.Console;
|
||||
using Elsa.Activities.ControlFlow;
|
||||
using Elsa.Activities.Timers;
|
||||
using Elsa.Attributes;
|
||||
using Elsa.Builders;
|
||||
using Elsa.Services;
|
||||
using Elsa.Services.Models;
|
||||
using NodaTime;
|
||||
|
||||
namespace Elsa.Samples.ProgrammaticCompositeActivitiesConsole.Activities
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,14 +1,11 @@
|
|||
using System.Data;
|
||||
using Elsa.Activities.AzureServiceBus.Extensions;
|
||||
using Elsa.Persistence.EntityFramework.Core.Extensions;
|
||||
using Elsa.Persistence.EntityFramework.Sqlite;
|
||||
using Elsa.Persistence.YesSql.Extensions;
|
||||
using Elsa.Samples.AzureServiceBusWorker.Workflows;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.Hosting;
|
||||
using YesSql.Provider.Sqlite;
|
||||
|
||||
namespace Elsa.Samples.AzureServiceBusWorker
|
||||
{
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@ using Microsoft.Extensions.DependencyInjection;
|
|||
using Microsoft.Extensions.Logging;
|
||||
using Rebus.Config;
|
||||
using Rebus.Routing.TypeBased;
|
||||
using LogLevel = Rebus.Logging.LogLevel;
|
||||
|
||||
namespace Elsa.Rebus.AzureServiceBus
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue