Skip to content

Commit 7df9fff

Browse files
committed
Drop unused dependency
1 parent 6cbbf03 commit 7df9fff

8 files changed

Lines changed: 7 additions & 9 deletions

File tree

src/SeqCli/Config/SeqCliEncryptionProviderConfig.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
namespace SeqCli.Config;
1818

19-
public class SeqCliEncryptionProviderConfig
19+
class SeqCliEncryptionProviderConfig
2020
{
2121
public string? Encryptor { get; set; }
2222
public string? EncryptorArgs { get; set; }

src/SeqCli/Config/SeqCliOutputConfig.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
namespace SeqCli.Config;
1919

20-
public class SeqCliOutputConfig
20+
class SeqCliOutputConfig
2121
{
2222
public bool DisableColor { get; set; }
2323
public bool ForceColor { get; set; }

src/SeqCli/Encryptor/ExternalDataProtector.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
namespace SeqCli.Encryptor;
99

10-
public class ExternalDataProtector : IDataProtector
10+
class ExternalDataProtector : IDataProtector
1111
{
1212
public ExternalDataProtector(SeqCliEncryptionProviderConfig providerConfig)
1313
{
@@ -66,7 +66,7 @@ static int Invoke(string fullExePath, string? args, byte[] stdin, out byte[] std
6666
throw new InvalidOperationException("The process did not start.");
6767

6868
var stderrBuf = new StringBuilder();
69-
process.ErrorDataReceived += (o, e) =>
69+
process.ErrorDataReceived += (_, e) =>
7070
{
7171
if (e.Data == null)
7272
// ReSharper disable once AccessToDisposedClosure

src/SeqCli/Encryptor/WindowsNativeDataProtector.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
namespace SeqCli.Encryptor;
77

8-
public class WindowsNativeDataProtector : IDataProtector
8+
class WindowsNativeDataProtector : IDataProtector
99
{
1010
public byte[] Encrypt(byte[] unencrypted)
1111
{

src/SeqCli/Forwarder/Channel/ForwardingChannelEntry.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33

44
namespace SeqCli.Forwarder.Channel;
55

6-
public readonly record struct ForwardingChannelEntry(ArraySegment<byte> Data, TaskCompletionSource CompletionSource);
6+
readonly record struct ForwardingChannelEntry(ArraySegment<byte> Data, TaskCompletionSource CompletionSource);

src/SeqCli/Forwarder/Diagnostics/InMemorySink.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
namespace SeqCli.Forwarder.Diagnostics;
2222

23-
public class InMemorySink : ILogEventSink
23+
class InMemorySink : ILogEventSink
2424
{
2525
readonly int _queueLength;
2626
readonly ConcurrentQueue<LogEvent> _queue = new();

src/SeqCli/SeqCli.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@
5757
<PackageReference Include="Autofac" Version="8.3.0" />
5858
<PackageReference Include="Autofac.Extensions.DependencyInjection" Version="10.0.0" />
5959
<PackageReference Include="Superpower" Version="3.1.0" />
60-
<PackageReference Include="System.Reactive" Version="6.0.1" />
6160
<PackageReference Include="System.Security.Cryptography.ProtectedData" Version="9.0.7" />
6261
<PackageReference Include="System.ServiceProcess.ServiceController" Version="9.0.7" />
6362
<PackageReference Include="Serilog.Sinks.Seq" Version="9.0.0" />

src/SeqCli/SeqCliModule.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
using System.Reflection;
1616
using Autofac;
1717
using SeqCli.Cli;
18-
using SeqCli.Connection;
1918

2019
namespace SeqCli;
2120

0 commit comments

Comments
 (0)