2 instantiations of InvokedDataCollector
Microsoft.TestPlatform.CommunicationUtilities (1)
_generated\54\TestPlatformJsonContext.InvokedDataCollector.g.cs (1)
32ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector((global::System.Uri)args[0], (string)args[1], (string)args[2], (string)args[3], (bool)args[4]),
Microsoft.VisualStudio.TestPlatform.Common (1)
DataCollection\DataCollectionManager.cs (1)
271invokedDataCollector.Add(new InvokedDataCollector(dataCollectorInformation.DataCollectorConfig.TypeUri!,
118 references to InvokedDataCollector
Microsoft.TestPlatform.CommunicationUtilities (70)
_generated\112\TestPlatformJsonContext.GetJsonTypeInfo.g.cs (3)
238if (type == typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector)) 354if (type == typeof(global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector>)) 410if (type == typeof(global::System.Collections.ObjectModel.Collection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector>))
_generated\2\TestPlatformJsonContext.AfterTestRunEndResult.g.cs (3)
74var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.ObjectModel.Collection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector>> 89AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.Common.DataCollection.AfterTestRunEndResult).GetProperty("InvokedDataCollectors", InstanceMemberBindingFlags, null, typeof(global::System.Collections.ObjectModel.Collection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector>), global::System.Array.Empty<global::System.Type>(), null), 92properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.ObjectModel.Collection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector>>(options, info1);
_generated\45\TestPlatformJsonContext.TestRunAttachmentsProcessingPayload.g.cs (3)
73var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector>> 88AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunAttachmentsProcessingPayload).GetProperty("InvokedDataCollectors", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector>), global::System.Array.Empty<global::System.Type>(), null), 91properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector>>(options, info1);
_generated\48\TestPlatformJsonContext.TestRunCompleteEventArgs.g.cs (3)
154var info5 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.ObjectModel.Collection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector>> 169AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunCompleteEventArgs).GetProperty("InvokedDataCollectors", InstanceMemberBindingFlags, null, typeof(global::System.Collections.ObjectModel.Collection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector>), global::System.Array.Empty<global::System.Type>(), null), 172properties[5] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.ObjectModel.Collection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector>>(options, info5);
_generated\54\TestPlatformJsonContext.InvokedDataCollector.g.cs (31)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector>? _InvokedDataCollector; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector> InvokedDataCollector 22get => _InvokedDataCollector ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector>)Options.GetTypeInfo(typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector> Create_InvokedDataCollector(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector> 35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(global::System.Uri), typeof(string), typeof(string), typeof(string), typeof(bool)}, modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector), 60Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector)obj).Uri, 68AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector).GetProperty("Uri", InstanceMemberBindingFlags, null, typeof(global::System.Uri), global::System.Array.Empty<global::System.Type>(), null), 79DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector), 81Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector)obj).FriendlyName, 89AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector).GetProperty("FriendlyName", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 100DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector), 102Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector)obj).AssemblyQualifiedName, 110AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector).GetProperty("AssemblyQualifiedName", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 121DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector), 123Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector)obj).FilePath, 131AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector).GetProperty("FilePath", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 142DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector), 144Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector)obj).HasAttachmentProcessor, 152AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector).GetProperty("HasAttachmentProcessor", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null), 162private void InvokedDataCollectorSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector? value) 173global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector)value).Uri, Uri); 174writer.WriteString(PropName_FriendlyName, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector)value).FriendlyName); 175writer.WriteString(PropName_AssemblyQualifiedName, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector)value).AssemblyQualifiedName); 176writer.WriteString(PropName_FilePath, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector)value).FilePath); 177writer.WriteBoolean(PropName_HasAttachmentProcessor, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector)value).HasAttachmentProcessor);
_generated\83\TestPlatformJsonContext.IEnumerableInvokedDataCollector.g.cs (12)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector>>? _IEnumerableInvokedDataCollector; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector>> IEnumerableInvokedDataCollector 22get => _IEnumerableInvokedDataCollector ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector>> Create_IEnumerableInvokedDataCollector(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector>> 37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIEnumerableInfo<global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector>, global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector>(options, info); 47private void IEnumerableInvokedDataCollectorSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector>? value) 57foreach (global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector element in value)
_generated\97\TestPlatformJsonContext.CollectionInvokedDataCollector.g.cs (12)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.ObjectModel.Collection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector>>? _CollectionInvokedDataCollector; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.ObjectModel.Collection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector>> CollectionInvokedDataCollector 22get => _CollectionInvokedDataCollector ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.ObjectModel.Collection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector>>)Options.GetTypeInfo(typeof(global::System.Collections.ObjectModel.Collection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.ObjectModel.Collection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector>> Create_CollectionInvokedDataCollector(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.ObjectModel.Collection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.ObjectModel.Collection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.ObjectModel.Collection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector>> 31ObjectCreator = () => new global::System.Collections.ObjectModel.Collection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector>(), 37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIListInfo<global::System.Collections.ObjectModel.Collection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector>, global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector>(options, info); 47private void CollectionInvokedDataCollectorSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.ObjectModel.Collection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.InvokedDataCollector>? value)
Serialization\AfterTestRunEndResultConverter.cs (1)
35var invokedDataCollectors = DeserializeProperty<Collection<InvokedDataCollector>>(root, "InvokedDataCollectors", options);
Serialization\TestRunCompleteEventArgsConverter.cs (2)
39var invokedDataCollectors = DeserializeProperty<Collection<InvokedDataCollector>>(root, "InvokedDataCollectors", options) ?? new Collection<InvokedDataCollector>();
Microsoft.TestPlatform.CrossPlatEngine (24)
AttachmentsProcessing\DataCollectorAttachmentsProcessorsFactory.cs (2)
26public DataCollectorAttachmentProcessor[] Create(InvokedDataCollector[]? invokedDataCollectors, IMessageLogger? logger) 37foreach (var invokedDataCollector in invokedDataCollectors.OrderByDescending(d => d.FilePath))
AttachmentsProcessing\TestRunAttachmentsProcessingManager.cs (4)
45public async Task ProcessTestRunAttachmentsAsync(string? runSettingsXml, IRequestData requestData, IEnumerable<AttachmentSet> attachments, IEnumerable<InvokedDataCollector>? invokedDataCollector, ITestRunAttachmentsProcessingEventsHandler eventHandler, CancellationToken cancellationToken) 50public Task<Collection<AttachmentSet>> ProcessTestRunAttachmentsAsync(string? runSettingsXml, IRequestData requestData, IEnumerable<AttachmentSet> attachments, IEnumerable<InvokedDataCollector>? invokedDataCollector, CancellationToken cancellationToken) 55private async Task<Collection<AttachmentSet>> InternalProcessTestRunAttachmentsAsync(string? runSettingsXml, IRequestData requestData, IEnumerable<AttachmentSet> attachments, IEnumerable<InvokedDataCollector>? invokedDataCollector, ITestRunAttachmentsProcessingEventsHandler? eventHandler, CancellationToken cancellationToken) 106private async Task<Collection<AttachmentSet>> ProcessAttachmentsAsync(string? runSettingsXml, Collection<AttachmentSet> attachments, IEnumerable<InvokedDataCollector>? invokedDataCollector, ITestRunAttachmentsProcessingEventsHandler? eventsHandler, CancellationToken cancellationToken)
Client\InProcessProxyexecutionManager.cs (1)
103var completeArgs = new TestRunCompleteEventArgs(null, false, true, exception, new Collection<AttachmentSet>(), new Collection<InvokedDataCollector>(), TimeSpan.Zero);
Client\Parallel\ParallelProxyExecutionManager.cs (1)
479var completeArgs = new TestRunCompleteEventArgs(null, false, true, null, new Collection<AttachmentSet>(), new Collection<InvokedDataCollector>(), TimeSpan.Zero);
Client\Parallel\ParallelRunDataAggregator.cs (4)
38InvokedDataCollectors = new Collection<InvokedDataCollector>(); 56public Collection<InvokedDataCollector> InvokedDataCollectors { get; set; } 146Collection<InvokedDataCollector>? invokedDataCollectors, 170foreach (var invokedDataCollector in invokedDataCollectors)
Client\Parallel\ParallelRunEventsHandler.cs (1)
80new Collection<InvokedDataCollector>(_runDataAggregator.InvokedDataCollectors),
Client\ProxyExecutionManager.cs (1)
322var completeArgs = new TestRunCompleteEventArgs(null, false, true, null, new Collection<AttachmentSet>(), new Collection<InvokedDataCollector>(), TimeSpan.Zero);
DataCollection\DataCollectionResult.cs (2)
15public DataCollectionResult(Collection<AttachmentSet>? attachments, Collection<InvokedDataCollector>? invokedDataCollectors) 29public Collection<InvokedDataCollector>? InvokedDataCollectors { get; }
DataCollection\DataCollectionTestRunEventsHandler.cs (3)
33private Collection<InvokedDataCollector>? _invokedDataCollectors; 114foreach (var dataCollector in _invokedDataCollectors) 154foreach (var dataCollector in _invokedDataCollectors)
DataCollection\ParallelDataCollectionEventsHandler.cs (1)
72new Collection<InvokedDataCollector>(_runDataAggregator.InvokedDataCollectors.ToList()),
Execution\BaseRunTests.cs (1)
635new Collection<InvokedDataCollector>(),
PostProcessing\ArtifactProcessingManager.cs (3)
197HashSet<InvokedDataCollector> invokedDataCollectors = new(); 208foreach (var invokedDataCollector in eventArgs?.InvokedDataCollectors ?? Enumerable.Empty<InvokedDataCollector>())
Microsoft.TestPlatform.VsTestConsole.TranslationLayer (5)
Interfaces\ITranslationLayerRequestSenderAsync.cs (1)
156IEnumerable<InvokedDataCollector>? invokedDataCollectors,
Interfaces\IVsTestConsoleWrapperAsync.cs (1)
474IEnumerable<InvokedDataCollector>? invokedDataCollectors,
VsTestConsoleRequestSender.cs (2)
834IEnumerable<InvokedDataCollector>? invokedDataCollectors, 1303IEnumerable<InvokedDataCollector>? invokedDataCollectors,
VsTestConsoleWrapper.cs (1)
1149IEnumerable<InvokedDataCollector>? invokedDataCollectors,
Microsoft.VisualStudio.TestPlatform.Common (11)
DataCollection\AfterTestRunEndResult.cs (3)
39: this(attachmentSets, new Collection<InvokedDataCollector>(), metrics) 55Collection<InvokedDataCollector>? invokedDataCollectors, 67public Collection<InvokedDataCollector>? InvokedDataCollectors { get; private set; }
DataCollection\DataCollectionManager.cs (3)
266public Collection<InvokedDataCollector> GetInvokedDataCollectors() 268List<InvokedDataCollector> invokedDataCollector = new(); 278return new Collection<InvokedDataCollector>(invokedDataCollector);
DataCollection\Interfaces\IDataCollectionManager.cs (1)
74Collection<InvokedDataCollector> GetInvokedDataCollectors();
Interfaces\Engine\IDataCollectorAttachmentsProcessorsFactory.cs (1)
23DataCollectorAttachmentProcessor[] Create(InvokedDataCollector[]? invokedDataCollectors, IMessageLogger logger);
Interfaces\Engine\ITestRunAttachmentsProcessingManager.cs (2)
27Task ProcessTestRunAttachmentsAsync(string? runSettingsXml, IRequestData requestData, IEnumerable<AttachmentSet> attachments, IEnumerable<InvokedDataCollector>? invokedDataCollector, ITestRunAttachmentsProcessingEventsHandler eventHandler, CancellationToken cancellationToken); 38Task<Collection<AttachmentSet>> ProcessTestRunAttachmentsAsync(string? runSettingsXml, IRequestData requestData, IEnumerable<AttachmentSet> attachments, IEnumerable<InvokedDataCollector>? invokedDataCollector, CancellationToken cancellationToken);
Logging\InternalTestLoggerEvents.cs (1)
288internal void CompleteTestRun(ITestRunStatistics? stats, bool isCanceled, bool isAborted, Exception? error, Collection<AttachmentSet>? attachmentSet, Collection<InvokedDataCollector>? invokedDataCollectors, TimeSpan elapsedTime)
Microsoft.VisualStudio.TestPlatform.ObjectModel (8)
Client\Events\TestRunCompleteEventArgs.cs (4)
24InvokedDataCollectors = new Collection<InvokedDataCollector>(); 69Collection<InvokedDataCollector>? invokedDataCollectors, 77InvokedDataCollectors = invokedDataCollectors ?? new Collection<InvokedDataCollector>(); // Ensuring that invoked data collectors are not null. 117public Collection<InvokedDataCollector> InvokedDataCollectors { get; private set; }
Client\Payloads\TestRunAttachmentsProcessingPayload.cs (1)
24public IEnumerable<InvokedDataCollector>? InvokedDataCollectors { get; set; }
InvokedDataCollector.cs (3)
9public sealed class InvokedDataCollector : IEquatable<InvokedDataCollector> 63public bool Equals(InvokedDataCollector? other) 77=> Equals(obj as InvokedDataCollector);