From 7b6dca983197aa709edd6ad5253af372d73d7aee Mon Sep 17 00:00:00 2001 From: Denis NUTIU Date: Sat, 23 Nov 2019 23:07:39 +0200 Subject: [PATCH] Remove interface ITelemetryPublisher --- NucuCar.Domain/Telemetry/ITelemetryPublisher.cs | 14 -------------- NucuCar.Domain/Telemetry/TelemetryPublisher.cs | 2 +- 2 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 NucuCar.Domain/Telemetry/ITelemetryPublisher.cs diff --git a/NucuCar.Domain/Telemetry/ITelemetryPublisher.cs b/NucuCar.Domain/Telemetry/ITelemetryPublisher.cs deleted file mode 100644 index 5a61a2f..0000000 --- a/NucuCar.Domain/Telemetry/ITelemetryPublisher.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System.Collections.Generic; -using System.Threading; -using System.Threading.Tasks; -using Microsoft.Extensions.Logging; - -namespace NucuCar.Domain.Telemetry -{ - public interface ITelemetryPublisher - { - bool RegisterTelemeter(ITelemeter t); - bool UnRegisterTelemeter(ITelemeter t); - Task PublishAsync(CancellationToken cancellationToken); - } -} \ No newline at end of file diff --git a/NucuCar.Domain/Telemetry/TelemetryPublisher.cs b/NucuCar.Domain/Telemetry/TelemetryPublisher.cs index 52107cc..218ff57 100644 --- a/NucuCar.Domain/Telemetry/TelemetryPublisher.cs +++ b/NucuCar.Domain/Telemetry/TelemetryPublisher.cs @@ -6,7 +6,7 @@ using Microsoft.Extensions.Logging; namespace NucuCar.Domain.Telemetry { - public abstract class TelemetryPublisher : ITelemetryPublisher, IDisposable + public abstract class TelemetryPublisher : IDisposable { protected string ConnectionString { get; set; } protected string TelemetrySource { get; set; }