From 8398cec393d08cc9cc304a9f7542f930bacc37b5 Mon Sep 17 00:00:00 2001 From: glax Date: Wed, 17 Jan 2024 04:36:38 +0100 Subject: [PATCH] public accesstypes --- CShocker/CShocker.csproj | 2 +- CShocker/Shockers/Abstract/HTTPShocker.cs | 2 +- CShocker/Shockers/Abstract/SerialShocker.cs | 2 +- CShocker/Shockers/Abstract/Shocker.cs | 2 +- CShocker/Shockers/OpenShockHttp.cs | 2 +- CShocker/Shockers/OpenShockSerial.cs | 2 +- CShocker/Shockers/PiShockHttp.cs | 2 +- CShocker/Shockers/PiShockSerial.cs | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/CShocker/CShocker.csproj b/CShocker/CShocker.csproj index 696660c..6310f8c 100644 --- a/CShocker/CShocker.csproj +++ b/CShocker/CShocker.csproj @@ -7,7 +7,7 @@ Glax https://github.com/C9Glax/CShocker git - 1.0.2 + 1.0.3 diff --git a/CShocker/Shockers/Abstract/HTTPShocker.cs b/CShocker/Shockers/Abstract/HTTPShocker.cs index 85d80e0..e5b2db9 100644 --- a/CShocker/Shockers/Abstract/HTTPShocker.cs +++ b/CShocker/Shockers/Abstract/HTTPShocker.cs @@ -3,7 +3,7 @@ using Microsoft.Extensions.Logging; namespace CShocker.Shockers.Abstract; -internal abstract class HttpShocker : Shocker +public abstract class HttpShocker : Shocker { public HttpShocker(HttpShockerSettings settings, ILogger? logger = null) : base(settings, logger) { diff --git a/CShocker/Shockers/Abstract/SerialShocker.cs b/CShocker/Shockers/Abstract/SerialShocker.cs index 8ea292e..29bdd5d 100644 --- a/CShocker/Shockers/Abstract/SerialShocker.cs +++ b/CShocker/Shockers/Abstract/SerialShocker.cs @@ -3,7 +3,7 @@ using Microsoft.Extensions.Logging; namespace CShocker.Shockers.Abstract; -internal abstract class SerialShocker : Shocker +public abstract class SerialShocker : Shocker { protected SerialShocker(SerialShockerSettings shockerSettings, ILogger? logger = null) : base(shockerSettings, logger) { diff --git a/CShocker/Shockers/Abstract/Shocker.cs b/CShocker/Shockers/Abstract/Shocker.cs index c3a6bab..66cd277 100644 --- a/CShocker/Shockers/Abstract/Shocker.cs +++ b/CShocker/Shockers/Abstract/Shocker.cs @@ -4,7 +4,7 @@ using Microsoft.Extensions.Logging; namespace CShocker.Shockers.Abstract ; -internal abstract class Shocker +public abstract class Shocker { protected readonly AShockerSettings ShockerSettings; protected readonly ILogger? Logger; diff --git a/CShocker/Shockers/OpenShockHttp.cs b/CShocker/Shockers/OpenShockHttp.cs index 0844626..8415a34 100644 --- a/CShocker/Shockers/OpenShockHttp.cs +++ b/CShocker/Shockers/OpenShockHttp.cs @@ -6,7 +6,7 @@ using Microsoft.Extensions.Logging; namespace CShocker.Shockers; -internal class OpenShockHttp : HttpShocker +public class OpenShockHttp : HttpShocker { protected override void ControlInternal(ControlAction action, string shockerId, int intensity, int duration) { diff --git a/CShocker/Shockers/OpenShockSerial.cs b/CShocker/Shockers/OpenShockSerial.cs index f36bf6f..1418f45 100644 --- a/CShocker/Shockers/OpenShockSerial.cs +++ b/CShocker/Shockers/OpenShockSerial.cs @@ -4,7 +4,7 @@ using Microsoft.Extensions.Logging; namespace CShocker.Shockers; -internal class OpenShockSerial : SerialShocker +public class OpenShockSerial : SerialShocker { public OpenShockSerial(SerialShockerSettings shockerSettings, ILogger? logger = null) : base(shockerSettings, logger) { diff --git a/CShocker/Shockers/PiShockHttp.cs b/CShocker/Shockers/PiShockHttp.cs index 701ebf6..8c9403c 100644 --- a/CShocker/Shockers/PiShockHttp.cs +++ b/CShocker/Shockers/PiShockHttp.cs @@ -4,7 +4,7 @@ using Microsoft.Extensions.Logging; namespace CShocker.Shockers; -internal class PiShockHttp : HttpShocker +public class PiShockHttp : HttpShocker { public PiShockHttp(HttpShockerSettings settings, ILogger? logger = null) : base(settings, logger) { diff --git a/CShocker/Shockers/PiShockSerial.cs b/CShocker/Shockers/PiShockSerial.cs index f153c10..db4181d 100644 --- a/CShocker/Shockers/PiShockSerial.cs +++ b/CShocker/Shockers/PiShockSerial.cs @@ -4,7 +4,7 @@ using Microsoft.Extensions.Logging; namespace CShocker.Shockers; -internal class PiShockSerial : SerialShocker +public class PiShockSerial : SerialShocker { public PiShockSerial(SerialShockerSettings shockerSettings, ILogger? logger = null) : base(shockerSettings, logger) {