NucuCar/NucuCar.Telemetry/TelemetryPublisherOptions.cs

26 lines
776 B
C#
Raw Normal View History

2020-08-01 15:07:13 +00:00
using Microsoft.Extensions.Logging;
using NucuCar.Telemetry.Abstractions;
namespace NucuCar.Telemetry
{
/// <summary>
/// This class contains options for the <see cref="TelemetryPublisher"/>.
/// </summary>
public class TelemetryPublisherOptions
{
/// <summary>
/// The ConnectionString used by the publisher to connect to the cloud service.
/// </summary>
public string ConnectionString { get; set; }
/// <summary>
/// A string that indicates the source of the telemetry data.
/// </summary>
public string TelemetrySource { get; set; }
/// <summary>
/// The <see cref="ILogger"/> logger instance.
/// </summary>
public ILogger Logger { get; set; }
}
}