Skip to content

Commit a1d6bc3

Browse files
committed
Revert changes in "Clean up shared props usage (#9)"
This reverts some changes done in commit 053aba5.
1 parent 053aba5 commit a1d6bc3

File tree

7 files changed

+5
-18
lines changed

7 files changed

+5
-18
lines changed

SDK.CSharp.Example/ExampleConfig.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
using System;
2-
using System.Collections.Generic;
3-
4-
namespace SDK.CSharp.Example;
1+
namespace SDK.CSharp.Example;
52

63
public sealed class ExampleConfig
74
{

SDK.CSharp.Example/Http/PauseShocker.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
using OpenShock.SDK.CSharp;
2-
using System;
3-
using System.Linq;
4-
using System.Threading.Tasks;
52

63
namespace SDK.CSharp.Example.Http;
74

SDK.CSharp.Example/IExample.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
using System.Threading.Tasks;
2-
3-
namespace SDK.CSharp.Example;
1+
namespace SDK.CSharp.Example;
42

53
public interface IExample
64
{

SDK.CSharp.Example/LiveControl.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
using OpenShock.SDK.CSharp;
33
using OpenShock.SDK.CSharp.Live;
44
using OpenShock.SDK.CSharp.Models;
5-
using System;
6-
using System.Threading.Tasks;
75

86
namespace SDK.CSharp.Example;
97

SDK.CSharp.Example/Program.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
using System;
2-
using System.Collections.Immutable;
3-
using System.Linq;
1+
using System.Collections.Immutable;
42
using System.Text.Json;
5-
using System.Threading;
63
using Microsoft.Extensions.Configuration;
74
using Microsoft.Extensions.DependencyInjection;
85
using Microsoft.Extensions.DependencyInjection.Extensions;

SDK.CSharp.Example/SDK.CSharp.Example.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
55
<TargetFramework>net9.0</TargetFramework>
6+
<ImplicitUsings>enable</ImplicitUsings>
7+
<Nullable>enable</Nullable>
68
</PropertyGroup>
79

810
<ItemGroup>

SDK.CSharp.Example/SignalrHub.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
using OpenShock.SDK.CSharp.Hub;
22
using OpenShock.SDK.CSharp.Models;
33
using Serilog;
4-
using System.Linq;
5-
using System.Threading.Tasks;
64

75
namespace SDK.CSharp.Example;
86

0 commit comments

Comments
 (0)