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