4 instantiations of AttachmentSet
Microsoft.TestPlatform.CommunicationUtilities (2)
_generated\29\TestPlatformJsonContext.AttachmentSet.g.cs (1)
32ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet((global::System.Uri)args[0], (string)args[1]),
Serialization\AttachmentConverters.cs (1)
27var attachmentSet = new AttachmentSet(uri, displayName);
Microsoft.TestPlatform.Utilities (1)
CodeCoverageDataAttachmentsHandler.cs (1)
73var resultAttachmentSet = new AttachmentSet(CodeCoverageDataCollectorUri, CoverageFriendlyName);
Microsoft.VisualStudio.TestPlatform.Common (1)
DataCollection\DataCollectionAttachmentManager.cs (1)
178AttachmentSets[fileTransferInfo.Context].TryAdd(uri, new AttachmentSet(uri, friendlyName));
278 references to AttachmentSet
Microsoft.TestPlatform.CommunicationUtilities (119)
_generated\112\TestPlatformJsonContext.GetJsonTypeInfo.g.cs (5)
138if (type == typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet)) 326if (type == typeof(global::System.Collections.Generic.ICollection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>)) 350if (type == typeof(global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>)) 386if (type == typeof(global::System.Collections.Generic.List<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>)) 406if (type == typeof(global::System.Collections.ObjectModel.Collection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>))
_generated\2\TestPlatformJsonContext.AfterTestRunEndResult.g.cs (3)
53var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.ObjectModel.Collection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>> 68AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.Common.DataCollection.AfterTestRunEndResult).GetProperty("AttachmentSets", InstanceMemberBindingFlags, null, typeof(global::System.Collections.ObjectModel.Collection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>), global::System.Array.Empty<global::System.Type>(), null), 71properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.ObjectModel.Collection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>>(options, info0);
_generated\25\TestPlatformJsonContext.TestRunAttachmentsProcessingCompletePayload.g.cs (3)
73var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>> 88AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.ObjectModel.TestRunAttachmentsProcessingCompletePayload).GetProperty("Attachments", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>), 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.AttachmentSet>>(options, info1);
_generated\27\TestPlatformJsonContext.TestRunCompletePayload.g.cs (3)
93var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.ICollection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>> 108AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.ObjectModel.TestRunCompletePayload).GetProperty("RunAttachments", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.ICollection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>), global::System.Array.Empty<global::System.Type>(), null), 111properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.ICollection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>>(options, info2);
_generated\29\TestPlatformJsonContext.AttachmentSet.g.cs (23)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>? _AttachmentSet; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet> AttachmentSet 22get => _AttachmentSet ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>)Options.GetTypeInfo(typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet> Create_AttachmentSet(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet> 35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(global::System.Uri), typeof(string)}, modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet), 60Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet)obj).Uri, 68AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet).GetProperty("Uri", InstanceMemberBindingFlags, null, typeof(global::System.Uri), global::System.Array.Empty<global::System.Type>(), null), 79DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet), 81Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet)obj).DisplayName, 89AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet).GetProperty("DisplayName", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 100DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet), 102Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet)obj).Attachments, 110AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet).GetProperty("Attachments", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IList<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.UriDataAttachment>), global::System.Array.Empty<global::System.Type>(), null), 121private void AttachmentSetSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet? value) 132global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet)value).Uri, Uri); 133writer.WriteString(PropName_DisplayName, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet)value).DisplayName); 135IListUriDataAttachmentSerializeHandler(writer, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet)value).Attachments);
_generated\45\TestPlatformJsonContext.TestRunAttachmentsProcessingPayload.g.cs (3)
53var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>> 68AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunAttachmentsProcessingPayload).GetProperty("Attachments", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>), global::System.Array.Empty<global::System.Type>(), null), 71properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>>(options, info0);
_generated\48\TestPlatformJsonContext.TestRunCompleteEventArgs.g.cs (3)
133var info4 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.ObjectModel.Collection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>> 148AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunCompleteEventArgs).GetProperty("AttachmentSets", InstanceMemberBindingFlags, null, typeof(global::System.Collections.ObjectModel.Collection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>), global::System.Array.Empty<global::System.Type>(), null), 151properties[4] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.ObjectModel.Collection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>>(options, info4);
_generated\65\TestPlatformJsonContext.TestResult.g.cs (3)
74var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.ObjectModel.Collection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>> 89AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestResult).GetProperty("Attachments", InstanceMemberBindingFlags, null, typeof(global::System.Collections.ObjectModel.Collection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>), 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.AttachmentSet>>(options, info1);
_generated\76\TestPlatformJsonContext.ICollectionAttachmentSet.g.cs (12)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.ICollection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>>? _ICollectionAttachmentSet; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.ICollection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>> ICollectionAttachmentSet 22get => _ICollectionAttachmentSet ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.ICollection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.ICollection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.ICollection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>> Create_ICollectionAttachmentSet(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.ICollection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.ICollection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.ICollection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>> 37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateICollectionInfo<global::System.Collections.Generic.ICollection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>, global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>(options, info); 47private void ICollectionAttachmentSetSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.ICollection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>? value) 57foreach (global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet element in value)
_generated\82\TestPlatformJsonContext.IEnumerableAttachmentSet.g.cs (12)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>>? _IEnumerableAttachmentSet; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>> IEnumerableAttachmentSet 22get => _IEnumerableAttachmentSet ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>> Create_IEnumerableAttachmentSet(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>> 37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIEnumerableInfo<global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>, global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>(options, info); 47private void IEnumerableAttachmentSetSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IEnumerable<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>? value) 57foreach (global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet element in value)
_generated\91\TestPlatformJsonContext.ListAttachmentSet.g.cs (12)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>>? _ListAttachmentSet; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>> ListAttachmentSet 22get => _ListAttachmentSet ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.List<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>> Create_ListAttachmentSet(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.List<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.List<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>> 31ObjectCreator = () => new global::System.Collections.Generic.List<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>(), 37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateListInfo<global::System.Collections.Generic.List<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>, global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>(options, info); 47private void ListAttachmentSetSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.List<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>? value)
_generated\96\TestPlatformJsonContext.CollectionAttachmentSet.g.cs (12)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.ObjectModel.Collection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>>? _CollectionAttachmentSet; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.ObjectModel.Collection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>> CollectionAttachmentSet 22get => _CollectionAttachmentSet ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.ObjectModel.Collection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>>)Options.GetTypeInfo(typeof(global::System.Collections.ObjectModel.Collection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.ObjectModel.Collection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>> Create_CollectionAttachmentSet(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.ObjectModel.Collection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.ObjectModel.Collection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.ObjectModel.Collection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>> 31ObjectCreator = () => new global::System.Collections.ObjectModel.Collection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>(), 37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIListInfo<global::System.Collections.ObjectModel.Collection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>, global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>(options, info); 47private void CollectionAttachmentSetSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.ObjectModel.Collection<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet>? value)
DataCollectionTestCaseEventHandler.cs (2)
111Collection<AttachmentSet> attachmentSets; 122attachmentSets = new Collection<AttachmentSet>();
DataCollectionTestCaseEventSender.cs (3)
107public Collection<AttachmentSet>? SendTestCaseEnd(TestCaseEndEventArgs e) 109var attachmentSets = new Collection<AttachmentSet>(); 115attachmentSets = _dataSerializer.DeserializePayload<Collection<AttachmentSet>>(message);
EventHandlers\TestRunEventsHandler.cs (1)
48public void HandleTestRunComplete(TestRunCompleteEventArgs testRunCompleteArgs, TestRunChangedEventArgs? lastChunkArgs, ICollection<AttachmentSet>? runContextAttachments, ICollection<string>? executorUris)
Interfaces\IDataCollectionTestCaseEventSender.cs (1)
51Collection<AttachmentSet>? SendTestCaseEnd(TestCaseEndEventArgs e);
Interfaces\ITestRequestHandler.cs (1)
74void SendExecutionComplete(TestRunCompleteEventArgs testRunCompleteArgs, TestRunChangedEventArgs? lastChunkArgs, ICollection<AttachmentSet>? runContextAttachments, ICollection<string>? executorUris);
Messages\TestRunAttachmentsProcessingCompletePayload.cs (1)
24public IEnumerable<AttachmentSet>? Attachments { get; set; }
Messages\TestRunCompletePayload.cs (1)
29public ICollection<AttachmentSet>? RunAttachments { get; set; }
Serialization\AfterTestRunEndResultConverter.cs (2)
34var attachmentSets = DeserializeProperty<Collection<AttachmentSet>>(root, "AttachmentSets", options) ?? new Collection<AttachmentSet>();
Serialization\AttachmentConverters.cs (5)
16/// JSON converter for <see cref="AttachmentSet"/> that handles the lack of a parameterless constructor. 18internal class AttachmentSetConverter : JsonConverter<AttachmentSet> 20public override AttachmentSet? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 27var attachmentSet = new AttachmentSet(uri, displayName); 43public override void Write(Utf8JsonWriter writer, AttachmentSet value, JsonSerializerOptions options)
Serialization\TestResultConverter.cs (1)
37testResult.Attachments.Add(StjSafe.Deserialize<AttachmentSet>(attachment, options)!);
Serialization\TestResultConverterV2.cs (1)
40testResult.Attachments.Add(StjSafe.Deserialize<AttachmentSet>(attachment, options)!);
Serialization\TestRunCompleteEventArgsConverter.cs (2)
38var attachmentSets = DeserializeProperty<Collection<AttachmentSet>>(root, "AttachmentSets", options) ?? new Collection<AttachmentSet>();
TestPlatformJsonContext.cs (4)
54[JsonSerializable(typeof(AttachmentSet))] 61[JsonSerializable(typeof(IEnumerable<AttachmentSet>))] 62[JsonSerializable(typeof(List<AttachmentSet>))] 81[JsonSerializable(typeof(Collection<AttachmentSet>))]
Microsoft.TestPlatform.CrossPlatEngine (82)
Adapter\TestExecutionRecorder.cs (5)
21private readonly List<AttachmentSet> _attachmentSets; 42_attachmentSets = new List<AttachmentSet>(); 56internal Collection<AttachmentSet> Attachments 60return new Collection<AttachmentSet>(_attachmentSets); 149public void RecordAttachments(IList<AttachmentSet> attachments)
AttachmentsProcessing\TestRunAttachmentsProcessingManager.cs (18)
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) 58Collection<AttachmentSet> localAttachments = new(attachments.ToList()); 67var cancelAttachmentProcessingCompletionSource = new TaskCompletionSource<Collection<AttachmentSet>>(); 70Task<Collection<AttachmentSet>> task = Task.Run(async () => await ProcessAttachmentsAsync(runSettingsXml, localAttachments, invokedDataCollector, eventHandler, cancellationToken)); 106private async Task<Collection<AttachmentSet>> ProcessAttachmentsAsync(string? runSettingsXml, Collection<AttachmentSet> attachments, IEnumerable<InvokedDataCollector>? invokedDataCollector, ITestRunAttachmentsProcessingEventsHandler? eventsHandler, CancellationToken cancellationToken) 134Collection<AttachmentSet> attachmentsBackup = null!; 140attachmentsBackup = new Collection<AttachmentSet>(attachments.ToList()); 154foreach (var attachment in attachmentsToBeProcessed) 171ICollection<AttachmentSet> processedAttachments = await dataCollectorAttachmentsProcessor.DataCollectorAttachmentProcessorInstance.ProcessAttachmentSetsAsync( 173new Collection<AttachmentSet>(attachmentsToBeProcessed), 180foreach (var attachment in processedAttachments) 206private Collection<AttachmentSet> FinalizeOperation(IRequestData requestData, TestRunAttachmentsProcessingCompleteEventArgs completeArgs, Collection<AttachmentSet> attachments, Stopwatch stopwatch, ITestRunAttachmentsProcessingEventsHandler? eventHandler)
Client\InProcessProxyexecutionManager.cs (1)
103var completeArgs = new TestRunCompleteEventArgs(null, false, true, exception, new Collection<AttachmentSet>(), new Collection<InvokedDataCollector>(), TimeSpan.Zero);
Client\Parallel\ParallelProxyExecutionManager.cs (2)
147ICollection<AttachmentSet>? runContextAttachments, 479var completeArgs = new TestRunCompleteEventArgs(null, false, true, null, new Collection<AttachmentSet>(), new Collection<InvokedDataCollector>(), TimeSpan.Zero);
Client\Parallel\ParallelRunDataAggregator.cs (7)
36RunContextAttachments = new Collection<AttachmentSet>(); 37RunCompleteArgsAttachments = new List<AttachmentSet>(); 52public Collection<AttachmentSet> RunContextAttachments { get; set; } 54public List<AttachmentSet> RunCompleteArgsAttachments { get; } 144ICollection<AttachmentSet>? runContextAttachments, 145Collection<AttachmentSet>? runCompleteArgsAttachments, 157foreach (var attachmentSet in runContextAttachments)
Client\Parallel\ParallelRunEventsHandler.cs (3)
66ICollection<AttachmentSet>? runContextAttachments, 79new Collection<AttachmentSet>(_runDataAggregator.RunCompleteArgsAttachments), 109ICollection<AttachmentSet>? runContextAttachments,
Client\ProxyExecutionManager.cs (2)
322var completeArgs = new TestRunCompleteEventArgs(null, false, true, null, new Collection<AttachmentSet>(), new Collection<InvokedDataCollector>(), TimeSpan.Zero); 420public void HandleTestRunComplete(TestRunCompleteEventArgs testRunCompleteArgs, TestRunChangedEventArgs? lastChunkArgs, ICollection<AttachmentSet>? runContextAttachments, ICollection<string>? executorUris)
DataCollection\DataCollectionResult.cs (2)
15public DataCollectionResult(Collection<AttachmentSet>? attachments, Collection<InvokedDataCollector>? invokedDataCollectors) 24public Collection<AttachmentSet>? Attachments { get; }
DataCollection\DataCollectionTestRunEventsHandler.cs (8)
32private Collection<AttachmentSet>? _dataCollectionAttachmentSets; 143public void HandleTestRunComplete(TestRunCompleteEventArgs testRunCompleteArgs, TestRunChangedEventArgs? lastChunkArgs, ICollection<AttachmentSet>? runContextAttachments, ICollection<string>? executorUris) 205internal static ICollection<AttachmentSet>? GetCombinedAttachmentSets(Collection<AttachmentSet>? originalAttachmentSets, ICollection<AttachmentSet>? newAttachments) 214return new Collection<AttachmentSet>(newAttachments.ToList()); 217foreach (var attachmentSet in newAttachments) 219var attSet = originalAttachmentSets.FirstOrDefault(item => Equals(item.Uri, attachmentSet.Uri));
DataCollection\ParallelDataCollectionEventsHandler.cs (1)
54ICollection<AttachmentSet>? runContextAttachments,
DataCollection\ProxyOutOfProcDataCollectionManager.cs (8)
22private readonly Dictionary<Guid, Collection<AttachmentSet>> _attachmentsCache; 40_attachmentsCache = new Dictionary<Guid, Collection<AttachmentSet>>(); 48_attachmentsCache = new Dictionary<Guid, Collection<AttachmentSet>>(); 64if (!_attachmentsCache.TryGetValue(e.TestCaseId, out Collection<AttachmentSet>? attachmentSets)) 66attachmentSets = new Collection<AttachmentSet>(); 70foreach (var attachment in attachments) 82if (_attachmentsCache.TryGetValue(e.TestCaseId, out Collection<AttachmentSet>? attachmentSets)) 84foreach (var attachment in attachmentSets)
EventHandlers\IPathConverter.cs (4)
27Collection<AttachmentSet> UpdateAttachmentSets(Collection<AttachmentSet> attachmentSets, PathConversionDirection updateDirection); 29ICollection<AttachmentSet> UpdateAttachmentSets(ICollection<AttachmentSet>? attachmentSets, PathConversionDirection updateDirection);
EventHandlers\NullPathConverter.cs (4)
22Collection<AttachmentSet> IPathConverter.UpdateAttachmentSets(Collection<AttachmentSet> attachmentSets, PathConversionDirection _) => attachmentSets; 24ICollection<AttachmentSet> IPathConverter.UpdateAttachmentSets(ICollection<AttachmentSet>? attachmentSets, PathConversionDirection _) => attachmentSets!;
EventHandlers\PathConverter.cs (6)
108public Collection<AttachmentSet> UpdateAttachmentSets(Collection<AttachmentSet> attachmentSets, PathConversionDirection updateDirection) 115public ICollection<AttachmentSet> UpdateAttachmentSets(ICollection<AttachmentSet>? attachmentSets, PathConversionDirection updateDirection) 122private static AttachmentSet UpdateAttachmentSet(AttachmentSet attachmentSet, PathConversionDirection updateDirection)
EventHandlers\TestRequestHandler.cs (1)
214ICollection<AttachmentSet>? runContextAttachments,
Execution\BaseRunTests.cs (1)
627Collection<AttachmentSet>? attachments = FrameworkHandle?.Attachments;
PostProcessing\ArtifactProcessingManager.cs (3)
198List<AttachmentSet> attachments = new(); 212foreach (var attachmentSet in eventArgs?.AttachmentSets ?? Enumerable.Empty<AttachmentSet>())
PostProcessing\PostProcessingTestRunAttachmentsProcessingEventsHandler.cs (6)
20private readonly ConcurrentBag<AttachmentSet> _attachmentsSet = new(); 36public void HandleProcessedAttachmentsChunk(IEnumerable<AttachmentSet> attachments) 44foreach (var attachment in attachments) 50public void HandleTestRunAttachmentsProcessingComplete(TestRunAttachmentsProcessingCompleteEventArgs attachmentsProcessingCompleteEventArgs, IEnumerable<AttachmentSet>? lastChunk) 52foreach (var attachment in lastChunk ?? []) 64foreach (var attachmentSet in _attachmentsSet)
Microsoft.TestPlatform.Extensions.BlameDataCollector (1)
BlameLogger.cs (1)
125foreach (var attachmentSet in e.AttachmentSets)
Microsoft.TestPlatform.Utilities (6)
CodeCoverageDataAttachmentsHandler.cs (6)
47public async Task<ICollection<AttachmentSet>> ProcessAttachmentSetsAsync(XmlElement configurationElement, ICollection<AttachmentSet>? attachments, IProgress<int> progressReporter, IMessageLogger? logger, CancellationToken cancellationToken) 50return new Collection<AttachmentSet>(); 55foreach (var attachmentSet in attachments) 73var resultAttachmentSet = new AttachmentSet(CodeCoverageDataCollectorUri, CoverageFriendlyName); 89return new Collection<AttachmentSet> { resultAttachmentSet };
Microsoft.TestPlatform.VsTestConsole.TranslationLayer (7)
Interfaces\ITranslationLayerRequestSenderAsync.cs (1)
155IEnumerable<AttachmentSet> attachments,
Interfaces\IVsTestConsoleWrapperAsync.cs (2)
452IEnumerable<AttachmentSet> attachments, 473IEnumerable<AttachmentSet> attachments,
VsTestConsoleRequestSender.cs (2)
833IEnumerable<AttachmentSet> attachments, 1302IEnumerable<AttachmentSet> attachments,
VsTestConsoleWrapper.cs (2)
1148IEnumerable<AttachmentSet> attachments, 1170IEnumerable<AttachmentSet> attachments,
Microsoft.VisualStudio.TestPlatform.Client (6)
AttachmentsProcessing\InProcessTestRunAttachmentsProcessingEventsHandler.cs (2)
28public void HandleProcessedAttachmentsChunk(IEnumerable<AttachmentSet> attachments) 51IEnumerable<AttachmentSet>? lastChunk)
AttachmentsProcessing\TestRunAttachmentsProcessingEventsHandler.cs (2)
32public void HandleTestRunAttachmentsProcessingComplete(TestRunAttachmentsProcessingCompleteEventArgs attachmentsProcessingCompleteEventArgs, IEnumerable<AttachmentSet>? lastChunk) 57public void HandleProcessedAttachmentsChunk(IEnumerable<AttachmentSet> attachments)
Execution\TestRunRequest.cs (2)
356public void HandleTestRunComplete(TestRunCompleteEventArgs runCompleteArgs, TestRunChangedEventArgs? lastChunkArgs, ICollection<AttachmentSet>? runContextAttachments, ICollection<string>? executorUris) 401runContextAttachments != null ? new Collection<AttachmentSet>(runContextAttachments.ToList()) : null,
Microsoft.VisualStudio.TestPlatform.Common (31)
DataCollection\AfterTestRunEndResult.cs (3)
38public AfterTestRunEndResult(Collection<AttachmentSet> attachmentSets, IDictionary<string, object> metrics) 54public AfterTestRunEndResult(Collection<AttachmentSet> attachmentSets, 64public Collection<AttachmentSet> AttachmentSets { get; private set; }
DataCollection\DataCollectionAttachmentManager.cs (5)
83AttachmentSets = new ConcurrentDictionary<DataCollectionContext, ConcurrentDictionary<Uri, AttachmentSet>>(); 94internal ConcurrentDictionary<DataCollectionContext, ConcurrentDictionary<Uri, AttachmentSet>> AttachmentSets 136public List<AttachmentSet> GetAttachments(DataCollectionContext dataCollectionContext) 150List<AttachmentSet> attachments = new(); 173AttachmentSets.GetOrAdd(fileTransferInfo.Context, _ => new ConcurrentDictionary<Uri, AttachmentSet>());
DataCollection\DataCollectionManager.cs (13)
227public Collection<AttachmentSet> SessionEnded(bool isCancelled = false) 232return new Collection<AttachmentSet>(); 238return new Collection<AttachmentSet>(); 245var result = new List<AttachmentSet>(); 254return new Collection<AttachmentSet>(result); 262return new Collection<AttachmentSet>(result); 340public Collection<AttachmentSet> TestCaseEnded(TestCaseEndEventArgs testCaseEndEventArgs) 344return new Collection<AttachmentSet>(); 362List<AttachmentSet>? result = null; 371return new Collection<AttachmentSet>(result!); 379return new Collection<AttachmentSet>(result); 783private static void LogAttachments(List<AttachmentSet> attachmentSets) 791foreach (var entry in attachmentSets)
DataCollection\Interfaces\IDataCollectionAttachmentManager.cs (1)
41List<AttachmentSet> GetAttachments(DataCollectionContext dataCollectionContext);
DataCollection\Interfaces\IDataCollectionManager.cs (2)
40Collection<AttachmentSet> TestCaseEnded(TestCaseEndEventArgs testCaseEndEventArgs); 68Collection<AttachmentSet> SessionEnded(bool isCancelled);
ExtensionDecorators\SerialTestRunDecorator.cs (1)
121public void RecordAttachments(IList<AttachmentSet> attachmentSets)
ExtensionDecorators\SerialTestRunDecoratorFrameworkHandle.cs (1)
31public void RecordAttachments(IList<AttachmentSet> attachmentSets)
Interfaces\Engine\ClientProtocol\IParallelProxyExecutionManager.cs (1)
29ICollection<AttachmentSet>? runContextAttachments,
Interfaces\Engine\ITestRunAttachmentsProcessingManager.cs (3)
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.Extensions.Trx.TestLogger (7)
Utility\Converter.cs (7)
170public List<CollectorDataEntry> ToCollectionEntries(IEnumerable<AttachmentSet> attachmentSets, TestRun testRun, string trxFileDirectory) 181foreach (var attachmentSet in attachmentSets) 193public IList<string> ToResultFiles(IEnumerable<AttachmentSet>? attachmentSets, TestRun testRun, string trxFileDirectory, 202foreach (var attachmentSet in attachmentSets) 388foreach (AttachmentSet attachmentSet in rockSteadyTestResult.Attachments) 438private CollectorDataEntry ToCollectorEntry(AttachmentSet attachmentSet, Guid testResultExecutionId, TestRun testRun, string trxFileDirectory) 495private IList<string> ToResultFiles(AttachmentSet attachmentSet, Guid testResultExecutionId, TestRun testRun, string trxFileDirectory)
Microsoft.VisualStudio.TestPlatform.ObjectModel (17)
Adapter\Interfaces\ITestExecutionRecorder.cs (1)
44void RecordAttachments(IList<AttachmentSet> attachmentSets);
Client\Events\TestRunCompleteEventArgs.cs (5)
23AttachmentSets = new Collection<AttachmentSet>(); 41Collection<AttachmentSet>? attachmentSets, 68Collection<AttachmentSet>? attachmentSets, 76AttachmentSets = attachmentSets ?? new Collection<AttachmentSet>(); // Ensuring attachmentSets are not null, so that new attachmentSets can be combined whenever required. 111public Collection<AttachmentSet> AttachmentSets { get; private set; }
Client\Interfaces\IInternalTestRunEventsHandler.cs (1)
23void HandleTestRunComplete(TestRunCompleteEventArgs testRunCompleteArgs, TestRunChangedEventArgs? lastChunkArgs, ICollection<AttachmentSet>? runContextAttachments, ICollection<string>? executorUris);
Client\Interfaces\ITestRunAttachmentsProcessingEventsHandler.cs (2)
18void HandleTestRunAttachmentsProcessingComplete(TestRunAttachmentsProcessingCompleteEventArgs attachmentsProcessingCompleteEventArgs, IEnumerable<AttachmentSet>? lastChunk); 24void HandleProcessedAttachmentsChunk(IEnumerable<AttachmentSet> attachments);
Client\Interfaces\ITestRunEventsHandler.cs (1)
22void HandleTestRunComplete(TestRunCompleteEventArgs testRunCompleteArgs, TestRunChangedEventArgs? lastChunkArgs, ICollection<AttachmentSet>? runContextAttachments, ICollection<string>? executorUris);
Client\Payloads\TestRunAttachmentsProcessingPayload.cs (1)
18public IEnumerable<AttachmentSet>? Attachments { get; set; }
DataCollector\IDataCollectorAttachmentProcessor.cs (2)
50Task<ICollection<AttachmentSet>> ProcessAttachmentSetsAsync(XmlElement configurationElement, ICollection<AttachmentSet> attachments, IProgress<int> progressReporter, IMessageLogger logger, CancellationToken cancellationToken);
DataCollector\IDataCollectorAttachments.cs (2)
19ICollection<AttachmentSet> HandleDataCollectionAttachmentSets(ICollection<AttachmentSet> dataCollectionAttachments);
TestResult.cs (2)
30Attachments = new Collection<AttachmentSet>(); 48public Collection<AttachmentSet> Attachments { get; private set; }
vstest.console (1)
Internal\ConsoleLogger.cs (1)
691foreach (var attachmentSet in e.AttachmentSets)
vstest.console.arm64 (1)
src\vstest\src\vstest.console\Internal\ConsoleLogger.cs (1)
691foreach (var attachmentSet in e.AttachmentSets)