1 write to Context
Microsoft.VisualStudio.TestPlatform.ObjectModel (1)
DataCollector\TransferInformation\BaseTransferInformation.cs (1)
22Context = context;
9 references to Context
Microsoft.VisualStudio.TestPlatform.Common (9)
DataCollection\DataCollectionAttachmentManager.cs (9)
173AttachmentSets.GetOrAdd(fileTransferInfo.Context, _ => new ConcurrentDictionary<Uri, AttachmentSet>()); 174_attachmentTasks.GetOrAdd(fileTransferInfo.Context, _ => new ConcurrentBag<Task>()); 176if (!AttachmentSets[fileTransferInfo.Context].ContainsKey(uri)) 178AttachmentSets[fileTransferInfo.Context].TryAdd(uri, new AttachmentSet(uri, friendlyName)); 239var context = fileTransferInfo.Context; 244var testCaseId = fileTransferInfo.Context.HasTestCase 245? fileTransferInfo.Context.TestExecId.Id.ToString() 306AttachmentSets[fileTransferInfo.Context][uri].Attachments.Add(UriDataAttachment.CreateFrom(localFilePath, fileTransferInfo.Description)); 322_attachmentTasks[fileTransferInfo.Context].Add(continuationTask);