Remove interface ITelemetryPublisher

This commit is contained in:
Denis-Cosmin Nutiu 2019-11-23 23:07:39 +02:00
parent 0f4a9089b8
commit 7b6dca9831
2 changed files with 1 additions and 15 deletions

View file

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

View file

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