Skip to content

Commit 6e53ad9

Browse files
committed
Cleanup using statements
1 parent 3ca050f commit 6e53ad9

File tree

369 files changed

+13
-798
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

369 files changed

+13
-798
lines changed

src/WorkflowCore.DSL/Models/DefinitionSource.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
using System;
2-
using System.Collections.Generic;
3-
using System.Text;
42

53
namespace WorkflowCore.Models.DefinitionStorage
64
{

src/WorkflowCore.DSL/Models/Envelope.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
using System;
2-
using System.Collections.Generic;
3-
using System.Text;
42

53
namespace WorkflowCore.Models.DefinitionStorage
64
{

src/WorkflowCore.DSL/Models/v1/MappingSourceV1.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
using System;
2-
using System.Collections.Generic;
3-
using System.Text;
42

53
namespace WorkflowCore.Models.DefinitionStorage.v1
64
{

src/WorkflowCore.DSL/Models/v1/StepSourceV1.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using System;
22
using System.Collections.Generic;
33
using System.Dynamic;
4-
using System.Text;
54

65
namespace WorkflowCore.Models.DefinitionStorage.v1
76
{

src/WorkflowCore.DSL/ServiceCollectionExtensions.cs

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
using System;
2-
using System.Collections.Generic;
32
using System.Linq;
4-
using System.Threading.Tasks;
5-
using Microsoft.Extensions.DependencyInjection;
63
using WorkflowCore.Interface;
74
using WorkflowCore.Services.DefinitionStorage;
85

src/WorkflowCore.DSL/Services/DefinitionLoader.cs

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
1-
using Newtonsoft.Json;
2-
using System;
1+
using System;
32
using System.Collections;
43
using System.Collections.Generic;
54
using System.Linq;
65
using System.Linq.Dynamic.Core;
76
using System.Linq.Expressions;
87
using System.Reflection;
9-
using System.Text;
108
using Newtonsoft.Json.Linq;
119
using WorkflowCore.Interface;
1210
using WorkflowCore.Models;
1311
using WorkflowCore.Primitives;
14-
using WorkflowCore.Models.DefinitionStorage;
1512
using WorkflowCore.Models.DefinitionStorage.v1;
1613
using WorkflowCore.Exceptions;
1714

src/WorkflowCore/Exceptions/WorkflowDefinitionLoadException.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
using System;
2-
using System.Collections.Generic;
3-
using System.Text;
42

53
namespace WorkflowCore.Exceptions
64
{

src/WorkflowCore/Interface/IActivityController.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
using System;
2-
using System.Collections.Generic;
3-
using System.Text;
42
using System.Threading.Tasks;
53

64
namespace WorkflowCore.Interface

src/WorkflowCore/Interface/ICancellationProcessor.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
using System;
2-
using System.Collections.Generic;
3-
using System.Text;
42
using WorkflowCore.Models;
53

64
namespace WorkflowCore.Interface

src/WorkflowCore/Interface/ILifeCycleEventHub.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
using System;
2-
using System.Collections.Generic;
3-
using System.Text;
42
using System.Threading.Tasks;
53
using WorkflowCore.Models.LifeCycleEvents;
64

src/WorkflowCore/Interface/ILifeCycleEventPublisher.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
using System;
2-
using System.Collections.Generic;
3-
using System.Text;
42
using WorkflowCore.Models.LifeCycleEvents;
53

64
namespace WorkflowCore.Interface

src/WorkflowCore/Interface/ISearchIndex.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
using System;
2-
using System.Collections.Generic;
3-
using System.Text;
42
using System.Threading.Tasks;
53
using WorkflowCore.Models;
64
using WorkflowCore.Models.Search;

src/WorkflowCore/Interface/ISearchable.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using System;
22
using System.Collections.Generic;
3-
using System.Text;
43

54
namespace WorkflowCore.Interface
65
{

src/WorkflowCore/Interface/IStepBuilder.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
using System;
2-
using System.Collections;
32
using System.Linq.Expressions;
43
using WorkflowCore.Models;
5-
using WorkflowCore.Primitives;
64

75
namespace WorkflowCore.Interface
86
{

src/WorkflowCore/Interface/IStepParameter.cs

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
using WorkflowCore.Interface;
2-
using WorkflowCore.Models;
3-
4-
namespace WorkflowCore.Interface
1+
namespace WorkflowCore.Interface
52
{
63
public interface IStepParameter
74
{

src/WorkflowCore/Interface/IWorkflowController.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
using System;
2-
using System.Collections.Generic;
3-
using System.Text;
42
using System.Threading.Tasks;
53

64
namespace WorkflowCore.Interface

src/WorkflowCore/Interface/IWorkflowErrorHandler.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using System;
22
using System.Collections.Generic;
3-
using System.Text;
43
using WorkflowCore.Models;
54

65
namespace WorkflowCore.Interface

src/WorkflowCore/Models/ActionParameter.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
using System;
22
using System.Linq;
3-
using System.Linq.Expressions;
4-
using System.Reflection;
53
using WorkflowCore.Interface;
64

75
namespace WorkflowCore.Models

src/WorkflowCore/Models/ActivityResult.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
using System;
2-
using System.Collections.Generic;
3-
using System.Text;
42

53
namespace WorkflowCore.Models
64
{

src/WorkflowCore/Models/ExecutionPointerCollection.cs

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using System.Collections;
33
using System.Collections.Generic;
44
using System.Linq;
5-
using System.Text;
65

76
namespace WorkflowCore.Models
87
{

src/WorkflowCore/Models/LifeCycleEvents/LifeCycleEvent.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
using System;
2-
using System.Collections.Generic;
3-
using System.Text;
42

53
namespace WorkflowCore.Models.LifeCycleEvents
64
{

src/WorkflowCore/Models/LifeCycleEvents/StepCompleted.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
using System;
2-
using System.Collections.Generic;
3-
using System.Text;
42

53
namespace WorkflowCore.Models.LifeCycleEvents
64
{

src/WorkflowCore/Models/LifeCycleEvents/StepStarted.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
using System;
2-
using System.Collections.Generic;
3-
using System.Text;
42

53
namespace WorkflowCore.Models.LifeCycleEvents
64
{

src/WorkflowCore/Models/LifeCycleEvents/WorkflowCompleted.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
using System;
2-
using System.Collections.Generic;
3-
using System.Text;
42

53
namespace WorkflowCore.Models.LifeCycleEvents
64
{

src/WorkflowCore/Models/LifeCycleEvents/WorkflowError.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
using System;
2-
using System.Collections.Generic;
3-
using System.Text;
42

53
namespace WorkflowCore.Models.LifeCycleEvents
64
{

src/WorkflowCore/Models/LifeCycleEvents/WorkflowResumed.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
using System;
2-
using System.Collections.Generic;
3-
using System.Text;
42

53
namespace WorkflowCore.Models.LifeCycleEvents
64
{

src/WorkflowCore/Models/LifeCycleEvents/WorkflowStarted.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
using System;
2-
using System.Collections.Generic;
3-
using System.Text;
42

53
namespace WorkflowCore.Models.LifeCycleEvents
64
{

src/WorkflowCore/Models/LifeCycleEvents/WorkflowSuspended.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
using System;
2-
using System.Collections.Generic;
3-
using System.Text;
42

53
namespace WorkflowCore.Models.LifeCycleEvents
64
{

src/WorkflowCore/Models/LifeCycleEvents/WorkflowTerminated.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
using System;
2-
using System.Collections.Generic;
3-
using System.Text;
42

53
namespace WorkflowCore.Models.LifeCycleEvents
64
{

src/WorkflowCore/Models/MemberMapParameter.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using System;
22
using System.Linq;
33
using System.Linq.Expressions;
4-
using System.Reflection;
54
using WorkflowCore.Interface;
65

76
namespace WorkflowCore.Models

src/WorkflowCore/Models/Search/Page.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using System;
22
using System.Collections.Generic;
3-
using System.Text;
43

54
namespace WorkflowCore.Models.Search
65
{

src/WorkflowCore/Models/Search/SearchFilter.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
using System;
2-
using System.Collections.Generic;
32
using System.Linq.Expressions;
4-
using System.Text;
53

64
namespace WorkflowCore.Models.Search
75
{

src/WorkflowCore/Models/Search/StepInfo.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
using System;
2-
using System.Collections.Generic;
3-
using System.Text;
42

53
namespace WorkflowCore.Models.Search
64
{

src/WorkflowCore/Models/Search/WorkflowSearchResult.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
using System;
22
using System.Collections.Generic;
3-
using System.Reflection;
4-
using WorkflowCore.Interface;
53

64
namespace WorkflowCore.Models.Search
75
{

src/WorkflowCore/Models/WorkflowDefinition.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System;
2-
using System.Collections.Generic;
32

43

54
namespace WorkflowCore.Models

src/WorkflowCore/Models/WorkflowInstance.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System;
2-
using System.Collections.Generic;
32
using System.Linq;
43

54
namespace WorkflowCore.Models

src/WorkflowCore/Models/WorkflowStep.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using System;
22
using System.Collections.Generic;
33
using System.Linq.Expressions;
4-
using System.Reflection;
54
using WorkflowCore.Interface;
65

76
namespace WorkflowCore.Models

src/WorkflowCore/Models/WorkflowStepCollection.cs

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using System.Collections;
33
using System.Collections.Generic;
44
using System.Linq;
5-
using System.Text;
65

76
namespace WorkflowCore.Models
87
{

src/WorkflowCore/Primitives/ContainerStepBody.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System.Linq;
2-
using System.Collections.Generic;
32
using WorkflowCore.Models;
43

54
namespace WorkflowCore.Primitives

src/WorkflowCore/Primitives/SagaContainer.cs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
using System.Collections.Generic;
2-
using WorkflowCore.Exceptions;
3-
using WorkflowCore.Interface;
1+
using WorkflowCore.Interface;
42
using WorkflowCore.Models;
53

64
namespace WorkflowCore.Primitives

src/WorkflowCore/Properties/AssemblyInfo.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System.Reflection;
2-
using System.Runtime.CompilerServices;
32
using System.Runtime.InteropServices;
43

54
// General Information about an assembly is controlled through the following

src/WorkflowCore/ServiceCollectionExtensions.cs

-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
using System;
2-
using System.Collections.Generic;
32
using System.Linq;
4-
using System.Threading.Tasks;
5-
using Microsoft.Extensions.DependencyInjection;
63
using WorkflowCore.Interface;
74
using WorkflowCore.Services;
85
using WorkflowCore.Models;
9-
using Microsoft.Extensions.Logging;
106
using Microsoft.Extensions.ObjectPool;
117
using WorkflowCore.Primitives;
128
using WorkflowCore.Services.BackgroundTasks;

src/WorkflowCore/Services/ActivityController.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System;
2-
using System.Dynamic;
32
using System.Linq;
43
using System.Text;
54
using System.Threading;

src/WorkflowCore/Services/BackgroundTasks/WorkflowConsumer.cs

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using System.Threading;
33
using System.Threading.Tasks;
44
using Microsoft.Extensions.Logging;
5-
using Microsoft.Extensions.ObjectPool;
65
using WorkflowCore.Interface;
76
using WorkflowCore.Models;
87

src/WorkflowCore/Services/CancellationProcessor.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
using System;
2-
using System.Collections.Generic;
32
using System.Linq;
4-
using System.Text;
53
using Microsoft.Extensions.Logging;
64
using WorkflowCore.Interface;
75
using WorkflowCore.Models;

src/WorkflowCore/Services/DefaultProviders/MemoryPersistenceProvider.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System;
2-
using System.Collections.Concurrent;
32
using System.Collections.Generic;
43
using System.Linq;
54
using System.Threading.Tasks;

src/WorkflowCore/Services/DefaultProviders/NullSearchIndex.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
using System;
2-
using System.Collections.Generic;
3-
using System.Text;
42
using System.Threading.Tasks;
53
using WorkflowCore.Interface;
64
using WorkflowCore.Models;

src/WorkflowCore/Services/DefaultProviders/SingleNodeEventHub.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using System;
22
using System.Collections.Generic;
3-
using System.Text;
43
using System.Threading.Tasks;
54
using Microsoft.Extensions.Logging;
65
using WorkflowCore.Interface;

src/WorkflowCore/Services/DefaultProviders/TransientMemoryPersistenceProvider.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using System;
22
using System.Collections.Generic;
3-
using System.Text;
43
using System.Threading.Tasks;
54
using WorkflowCore.Interface;
65
using WorkflowCore.Models;

src/WorkflowCore/Services/ErrorHandlers/CompensateHandler.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
using System;
22
using System.Collections.Generic;
33
using System.Linq;
4-
using System.Text;
54
using WorkflowCore.Interface;
65
using WorkflowCore.Models;
7-
using WorkflowCore.Models.LifeCycleEvents;
86

97
namespace WorkflowCore.Services.ErrorHandlers
108
{

src/WorkflowCore/Services/ErrorHandlers/RetryHandler.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
using System;
22
using System.Collections.Generic;
3-
using System.Text;
43
using WorkflowCore.Interface;
54
using WorkflowCore.Models;
6-
using WorkflowCore.Models.LifeCycleEvents;
75

86
namespace WorkflowCore.Services.ErrorHandlers
97
{

src/WorkflowCore/Services/ErrorHandlers/SuspendHandler.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using System;
22
using System.Collections.Generic;
3-
using System.Text;
43
using WorkflowCore.Interface;
54
using WorkflowCore.Models;
65
using WorkflowCore.Models.LifeCycleEvents;

0 commit comments

Comments
 (0)