2019-11-23 18:53:04 +00:00
|
|
|
using Microsoft.Extensions.Logging;
|
|
|
|
|
|
|
|
namespace NucuCar.Domain.Telemetry
|
|
|
|
{
|
2019-11-24 13:12:12 +00:00
|
|
|
/// <summary>
|
|
|
|
/// This class contains options for the <see cref="TelemetryPublisher"/>.
|
|
|
|
/// </summary>
|
2019-11-23 18:53:04 +00:00
|
|
|
public class TelemetryPublisherBuilderOptions
|
|
|
|
{
|
2019-11-24 13:12:12 +00:00
|
|
|
/// <summary>
|
|
|
|
/// The ConnectionString used by the publisher to connect to the cloud service.
|
|
|
|
/// </summary>
|
2019-11-23 18:53:04 +00:00
|
|
|
public string ConnectionString { get; set; }
|
2019-11-24 13:12:12 +00:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// A string that indicates the source of the telemetry data.
|
|
|
|
/// </summary>
|
2019-11-23 18:53:04 +00:00
|
|
|
public string TelemetrySource { get; set; }
|
2019-11-24 13:12:12 +00:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// The <see cref="ILogger"/> logger instance.
|
|
|
|
/// </summary>
|
2019-11-23 18:53:04 +00:00
|
|
|
public ILogger Logger { get; set; }
|
|
|
|
}
|
|
|
|
}
|