1 write to AttachmentSets
Microsoft.VisualStudio.TestPlatform.Common (1)
DataCollection\DataCollectionAttachmentManager.cs (1)
83
AttachmentSets
= new ConcurrentDictionary<DataCollectionContext, ConcurrentDictionary<Uri, AttachmentSet>>();
6 references to AttachmentSets
Microsoft.VisualStudio.TestPlatform.Common (6)
DataCollection\DataCollectionAttachmentManager.cs (6)
152
if (
AttachmentSets
.TryGetValue(dataCollectionContext, out var uriAttachmentSetMap))
156
AttachmentSets
.TryRemove(dataCollectionContext, out _);
173
AttachmentSets
.GetOrAdd(fileTransferInfo.Context, _ => new ConcurrentDictionary<Uri, AttachmentSet>());
176
if (!
AttachmentSets
[fileTransferInfo.Context].ContainsKey(uri))
178
AttachmentSets
[fileTransferInfo.Context].TryAdd(uri, new AttachmentSet(uri, friendlyName));
306
AttachmentSets
[fileTransferInfo.Context][uri].Attachments.Add(UriDataAttachment.CreateFrom(localFilePath, fileTransferInfo.Description));