Skip to content

Commit 34d16ef

Browse files
RafaelJCamaradivzi-p
authored andcommitted
Remove unused using statements. (dapr#1313)
Signed-off-by: Rafael Camara <[email protected]> Signed-off-by: Divya Perumal <[email protected]>
1 parent 1e727dd commit 34d16ef

File tree

61 files changed

+22
-153
lines changed

Some content is hidden

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

61 files changed

+22
-153
lines changed

examples/AspNetCore/GrpcServiceSample/Program.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@
1111
// limitations under the License.
1212
// ------------------------------------------------------------------------
1313

14-
using System;
15-
using System.Collections.Generic;
16-
using System.IO;
17-
using System.Linq;
18-
using System.Threading.Tasks;
1914
using Microsoft.AspNetCore.Hosting;
2015
using Microsoft.AspNetCore.Server.Kestrel.Core;
2116
using Microsoft.Extensions.Hosting;

examples/AspNetCore/SecretStoreConfigurationProviderSample/Program.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
using Dapr.Client;
1919
using Dapr.Extensions.Configuration;
2020
using Microsoft.Extensions.DependencyInjection;
21-
using System.Collections.Generic;
2221
using System;
2322

2423
/// <summary>

examples/Client/ConfigurationApi/Controllers/ConfigurationController.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Threading;
1+
using System.Collections.Generic;
42
using System.Threading.Tasks;
53
using ControllerSample;
64
using Dapr;

examples/Client/ConfigurationApi/Program.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
using Dapr.Client;
55
using Dapr.Extensions.Configuration;
66
using System.Collections.Generic;
7-
using System.Threading;
87

98
namespace ConfigurationApi
109
{

examples/Client/ConfigurationApi/Startup.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
1-
using System;
2-
using Dapr.AspNetCore;
3-
using Microsoft.AspNetCore.Builder;
1+
using Microsoft.AspNetCore.Builder;
42
using Microsoft.AspNetCore.Hosting;
53
using Microsoft.Extensions.Configuration;
64
using Microsoft.Extensions.DependencyInjection;
75
using Microsoft.Extensions.Hosting;
8-
using Microsoft.Extensions.Primitives;
96

107
namespace ConfigurationApi
118
{

examples/Client/DistributedLock/Controllers/BindingController.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
using System;
2-
using System.Linq;
3-
using System.Text;
1+
using System;
2+
using System.Linq;
43
using System.Text.Json;
54
using System.Threading.Tasks;
65
using Dapr;

examples/Client/DistributedLock/Model/StateData.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
using System;
2-
namespace DistributedLock.Model
1+
namespace DistributedLock.Model
32
{
43
#nullable enable
54
public class StateData

examples/Client/DistributedLock/Program.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Threading.Tasks;
52
using Microsoft.AspNetCore.Hosting;
6-
using Microsoft.Extensions.Configuration;
73
using Microsoft.Extensions.Hosting;
8-
using Microsoft.Extensions.Logging;
94

105
namespace DistributedLock
116
{

examples/Client/ServiceInvocation/InvokeServiceHttpClientExample.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
using System;
1515
using System.Net.Http.Json;
16-
using System.Text.Json;
1716
using System.Threading;
1817
using System.Threading.Tasks;
1918
using Dapr.Client;

examples/Workflow/WorkflowConsoleApp/Activities/ProcessPaymentActivity.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
using Dapr.Client;
2-
using Dapr.Workflow;
1+
using Dapr.Workflow;
32
using Microsoft.Extensions.Logging;
43

54
namespace WorkflowConsoleApp.Activities

0 commit comments

Comments
 (0)