NucuCar/NucuCar.Telemetry/PublisherOptions.cs

26 lines
760 B
C#
Raw Normal View History

2020-08-01 15:07:13 +00:00
using Microsoft.Extensions.Logging;
using NucuCar.Telemetry.Publishers;
2020-08-01 15:07:13 +00:00
namespace NucuCar.Telemetry
{
/// <summary>
/// This class contains options for the <see cref="BasePublisher"/>.
2020-08-01 15:07:13 +00:00
/// </summary>
public class PublisherOptions
2020-08-01 15:07:13 +00:00
{
/// <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; }
}
}