Skip to content

Commit

Permalink
Cleanup using statements
Browse files Browse the repository at this point in the history
  • Loading branch information
DemetriouJohn committed Mar 11, 2021
1 parent 3ca050f commit 6e53ad9
Show file tree
Hide file tree
Showing 369 changed files with 13 additions and 798 deletions.
2 changes: 0 additions & 2 deletions src/WorkflowCore.DSL/Models/DefinitionSource.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace WorkflowCore.Models.DefinitionStorage
{
Expand Down
2 changes: 0 additions & 2 deletions src/WorkflowCore.DSL/Models/Envelope.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace WorkflowCore.Models.DefinitionStorage
{
Expand Down
2 changes: 0 additions & 2 deletions src/WorkflowCore.DSL/Models/v1/MappingSourceV1.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace WorkflowCore.Models.DefinitionStorage.v1
{
Expand Down
1 change: 0 additions & 1 deletion src/WorkflowCore.DSL/Models/v1/StepSourceV1.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Text;

namespace WorkflowCore.Models.DefinitionStorage.v1
{
Expand Down
3 changes: 0 additions & 3 deletions src/WorkflowCore.DSL/ServiceCollectionExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using WorkflowCore.Interface;
using WorkflowCore.Services.DefinitionStorage;

Expand Down
5 changes: 1 addition & 4 deletions src/WorkflowCore.DSL/Services/DefinitionLoader.cs
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
using Newtonsoft.Json;
using System;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Dynamic.Core;
using System.Linq.Expressions;
using System.Reflection;
using System.Text;
using Newtonsoft.Json.Linq;
using WorkflowCore.Interface;
using WorkflowCore.Models;
using WorkflowCore.Primitives;
using WorkflowCore.Models.DefinitionStorage;
using WorkflowCore.Models.DefinitionStorage.v1;
using WorkflowCore.Exceptions;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace WorkflowCore.Exceptions
{
Expand Down
2 changes: 0 additions & 2 deletions src/WorkflowCore/Interface/IActivityController.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace WorkflowCore.Interface
Expand Down
2 changes: 0 additions & 2 deletions src/WorkflowCore/Interface/ICancellationProcessor.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;
using WorkflowCore.Models;

namespace WorkflowCore.Interface
Expand Down
2 changes: 0 additions & 2 deletions src/WorkflowCore/Interface/ILifeCycleEventHub.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using WorkflowCore.Models.LifeCycleEvents;

Expand Down
2 changes: 0 additions & 2 deletions src/WorkflowCore/Interface/ILifeCycleEventPublisher.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;
using WorkflowCore.Models.LifeCycleEvents;

namespace WorkflowCore.Interface
Expand Down
2 changes: 0 additions & 2 deletions src/WorkflowCore/Interface/ISearchIndex.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using WorkflowCore.Models;
using WorkflowCore.Models.Search;
Expand Down
1 change: 0 additions & 1 deletion src/WorkflowCore/Interface/ISearchable.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace WorkflowCore.Interface
{
Expand Down
2 changes: 0 additions & 2 deletions src/WorkflowCore/Interface/IStepBuilder.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
using System;
using System.Collections;
using System.Linq.Expressions;
using WorkflowCore.Models;
using WorkflowCore.Primitives;

namespace WorkflowCore.Interface
{
Expand Down
5 changes: 1 addition & 4 deletions src/WorkflowCore/Interface/IStepParameter.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using WorkflowCore.Interface;
using WorkflowCore.Models;

namespace WorkflowCore.Interface
namespace WorkflowCore.Interface
{
public interface IStepParameter
{
Expand Down
2 changes: 0 additions & 2 deletions src/WorkflowCore/Interface/IWorkflowController.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace WorkflowCore.Interface
Expand Down
1 change: 0 additions & 1 deletion src/WorkflowCore/Interface/IWorkflowErrorHandler.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
using System.Text;
using WorkflowCore.Models;

namespace WorkflowCore.Interface
Expand Down
2 changes: 0 additions & 2 deletions src/WorkflowCore/Models/ActionParameter.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using System;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using WorkflowCore.Interface;

namespace WorkflowCore.Models
Expand Down
2 changes: 0 additions & 2 deletions src/WorkflowCore/Models/ActivityResult.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace WorkflowCore.Models
{
Expand Down
1 change: 0 additions & 1 deletion src/WorkflowCore/Models/ExecutionPointerCollection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WorkflowCore.Models
{
Expand Down
2 changes: 0 additions & 2 deletions src/WorkflowCore/Models/LifeCycleEvents/LifeCycleEvent.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace WorkflowCore.Models.LifeCycleEvents
{
Expand Down
2 changes: 0 additions & 2 deletions src/WorkflowCore/Models/LifeCycleEvents/StepCompleted.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace WorkflowCore.Models.LifeCycleEvents
{
Expand Down
2 changes: 0 additions & 2 deletions src/WorkflowCore/Models/LifeCycleEvents/StepStarted.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace WorkflowCore.Models.LifeCycleEvents
{
Expand Down
2 changes: 0 additions & 2 deletions src/WorkflowCore/Models/LifeCycleEvents/WorkflowCompleted.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace WorkflowCore.Models.LifeCycleEvents
{
Expand Down
2 changes: 0 additions & 2 deletions src/WorkflowCore/Models/LifeCycleEvents/WorkflowError.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace WorkflowCore.Models.LifeCycleEvents
{
Expand Down
2 changes: 0 additions & 2 deletions src/WorkflowCore/Models/LifeCycleEvents/WorkflowResumed.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace WorkflowCore.Models.LifeCycleEvents
{
Expand Down
2 changes: 0 additions & 2 deletions src/WorkflowCore/Models/LifeCycleEvents/WorkflowStarted.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace WorkflowCore.Models.LifeCycleEvents
{
Expand Down
2 changes: 0 additions & 2 deletions src/WorkflowCore/Models/LifeCycleEvents/WorkflowSuspended.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace WorkflowCore.Models.LifeCycleEvents
{
Expand Down
2 changes: 0 additions & 2 deletions src/WorkflowCore/Models/LifeCycleEvents/WorkflowTerminated.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace WorkflowCore.Models.LifeCycleEvents
{
Expand Down
1 change: 0 additions & 1 deletion src/WorkflowCore/Models/MemberMapParameter.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using WorkflowCore.Interface;

namespace WorkflowCore.Models
Expand Down
1 change: 0 additions & 1 deletion src/WorkflowCore/Models/Search/Page.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace WorkflowCore.Models.Search
{
Expand Down
2 changes: 0 additions & 2 deletions src/WorkflowCore/Models/Search/SearchFilter.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Text;

namespace WorkflowCore.Models.Search
{
Expand Down
2 changes: 0 additions & 2 deletions src/WorkflowCore/Models/Search/StepInfo.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace WorkflowCore.Models.Search
{
Expand Down
2 changes: 0 additions & 2 deletions src/WorkflowCore/Models/Search/WorkflowSearchResult.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using System;
using System.Collections.Generic;
using System.Reflection;
using WorkflowCore.Interface;

namespace WorkflowCore.Models.Search
{
Expand Down
1 change: 0 additions & 1 deletion src/WorkflowCore/Models/WorkflowDefinition.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.Collections.Generic;


namespace WorkflowCore.Models
Expand Down
1 change: 0 additions & 1 deletion src/WorkflowCore/Models/WorkflowInstance.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;

namespace WorkflowCore.Models
Expand Down
1 change: 0 additions & 1 deletion src/WorkflowCore/Models/WorkflowStep.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Reflection;
using WorkflowCore.Interface;

namespace WorkflowCore.Models
Expand Down
1 change: 0 additions & 1 deletion src/WorkflowCore/Models/WorkflowStepCollection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WorkflowCore.Models
{
Expand Down
1 change: 0 additions & 1 deletion src/WorkflowCore/Primitives/ContainerStepBody.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Linq;
using System.Collections.Generic;
using WorkflowCore.Models;

namespace WorkflowCore.Primitives
Expand Down
4 changes: 1 addition & 3 deletions src/WorkflowCore/Primitives/SagaContainer.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System.Collections.Generic;
using WorkflowCore.Exceptions;
using WorkflowCore.Interface;
using WorkflowCore.Interface;
using WorkflowCore.Models;

namespace WorkflowCore.Primitives
Expand Down
1 change: 0 additions & 1 deletion src/WorkflowCore/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
Expand Down
4 changes: 0 additions & 4 deletions src/WorkflowCore/ServiceCollectionExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using WorkflowCore.Interface;
using WorkflowCore.Services;
using WorkflowCore.Models;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.ObjectPool;
using WorkflowCore.Primitives;
using WorkflowCore.Services.BackgroundTasks;
Expand Down
1 change: 0 additions & 1 deletion src/WorkflowCore/Services/ActivityController.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.Dynamic;
using System.Linq;
using System.Text;
using System.Threading;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.ObjectPool;
using WorkflowCore.Interface;
using WorkflowCore.Models;

Expand Down
2 changes: 0 additions & 2 deletions src/WorkflowCore/Services/CancellationProcessor.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Extensions.Logging;
using WorkflowCore.Interface;
using WorkflowCore.Models;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
Expand Down
2 changes: 0 additions & 2 deletions src/WorkflowCore/Services/DefaultProviders/NullSearchIndex.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using WorkflowCore.Interface;
using WorkflowCore.Models;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using WorkflowCore.Interface;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using WorkflowCore.Interface;
using WorkflowCore.Models;
Expand Down
2 changes: 0 additions & 2 deletions src/WorkflowCore/Services/ErrorHandlers/CompensateHandler.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WorkflowCore.Interface;
using WorkflowCore.Models;
using WorkflowCore.Models.LifeCycleEvents;

namespace WorkflowCore.Services.ErrorHandlers
{
Expand Down
2 changes: 0 additions & 2 deletions src/WorkflowCore/Services/ErrorHandlers/RetryHandler.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
using System;
using System.Collections.Generic;
using System.Text;
using WorkflowCore.Interface;
using WorkflowCore.Models;
using WorkflowCore.Models.LifeCycleEvents;

namespace WorkflowCore.Services.ErrorHandlers
{
Expand Down
1 change: 0 additions & 1 deletion src/WorkflowCore/Services/ErrorHandlers/SuspendHandler.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
using System.Text;
using WorkflowCore.Interface;
using WorkflowCore.Models;
using WorkflowCore.Models.LifeCycleEvents;
Expand Down
Loading

0 comments on commit 6e53ad9

Please sign in to comment.