/// <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>
        /// <param name="dataCollectorLoader">
        /// The data Collector Loader.
        /// </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, IDataCollectorLoader dataCollectorLoader)
        {
            this.attachmentManager   = datacollectionAttachmentManager;
            this.messageSink         = messageSink;
            this.dataCollectorLoader = dataCollectorLoader;
            this.events = new TestPlatformDataCollectionEvents();

            this.RunDataCollectors = new Dictionary <Type, DataCollectorInformation>();
        }
Beispiel #2
0
 internal TestableDataCollectionManager(IDataCollectionAttachmentManager datacollectionAttachmentManager, IMessageSink messageSink, IDataCollectorLoader dataCollectorLoader) : base(datacollectionAttachmentManager, messageSink, dataCollectorLoader)
 {
 }