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; }