/// <summary>
 /// Initializes a new instance of the <see cref="DataCollectionManager"/> class.
 /// </summary>
 /// <param name="datacollectionAttachmentManager">
 /// The datacollection Attachment Manager.
 /// </param>
 /// <param name="messageSink">
 /// The message Sink.
 /// </param>
 /// <remarks>
 /// The constructor is not public because the factory method should be used to get instances of this class.
 /// </remarks>
 protected DataCollectionManager(IDataCollectionAttachmentManager datacollectionAttachmentManager, IMessageSink messageSink, IDataCollectionTelemetryManager dataCollectionTelemetryManager)
 {
     this.attachmentManager              = datacollectionAttachmentManager;
     this.messageSink                    = messageSink;
     this.events                         = new TestPlatformDataCollectionEvents();
     this.dataCollectorExtensionManager  = null;
     this.RunDataCollectors              = new Dictionary <Type, DataCollectorInformation>();
     this.dataCollectionTelemetryManager = dataCollectionTelemetryManager;
 }
Beispiel #2
0
 internal TestableDataCollectionManager(IDataCollectionAttachmentManager datacollectionAttachmentManager, IMessageSink messageSink, IDataCollectionTelemetryManager dataCollectionTelemetryManager) : base(datacollectionAttachmentManager, messageSink, dataCollectionTelemetryManager)
 {
 }
Beispiel #3
0
 public TestableDataCollectionManager(IDataCollectionAttachmentManager datacollectionAttachmentManager, IMessageSink messageSink, DataCollector dataCollector, DataCollector ccDataCollector, IDataCollectionTelemetryManager dataCollectionTelemetryManager) : this(datacollectionAttachmentManager, messageSink, dataCollectionTelemetryManager)
 {
     this.dataCollector   = dataCollector;
     this.ccDataCollector = ccDataCollector;
 }