3 instantiations of UriDataAttachment
Microsoft.TestPlatform.CommunicationUtilities (2)
_generated\69\TestPlatformJsonContext.UriDataAttachment.g.cs (1)
32ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.VisualStudio.TestPlatform.ObjectModel.UriDataAttachment((global::System.Uri)args[0], (string)args[1]),
Serialization\AttachmentConverters.cs (1)
70return new UriDataAttachment(uri, description);
Microsoft.VisualStudio.TestPlatform.ObjectModel (1)
AttachmentSet.cs (1)
82return new UriDataAttachment(uri, description);
57 references to UriDataAttachment
Microsoft.TestPlatform.CommunicationUtilities (40)
_generated\112\TestPlatformJsonContext.GetJsonTypeInfo.g.cs (2)
298if (type == typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.UriDataAttachment)) 374if (type == typeof(global::System.Collections.Generic.IList<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.UriDataAttachment>))
_generated\29\TestPlatformJsonContext.AttachmentSet.g.cs (3)
95var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.IList<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.UriDataAttachment>> 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), 113properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.IList<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.UriDataAttachment>>(options, info2);
_generated\69\TestPlatformJsonContext.UriDataAttachment.g.cs (19)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.UriDataAttachment>? _UriDataAttachment; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.UriDataAttachment> UriDataAttachment 22get => _UriDataAttachment ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.UriDataAttachment>)Options.GetTypeInfo(typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.UriDataAttachment)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.UriDataAttachment> Create_UriDataAttachment(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.UriDataAttachment>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.UriDataAttachment> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.UriDataAttachment> 35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.UriDataAttachment).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.UriDataAttachment>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.UriDataAttachment), 60Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.UriDataAttachment)obj).Description, 68AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.UriDataAttachment).GetProperty("Description", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 78DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.UriDataAttachment), 80Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.UriDataAttachment)obj).Uri, 88AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.UriDataAttachment).GetProperty("Uri", InstanceMemberBindingFlags, null, typeof(global::System.Uri), global::System.Array.Empty<global::System.Type>(), null), 99private void UriDataAttachmentSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.VisualStudio.TestPlatform.ObjectModel.UriDataAttachment? value) 109writer.WriteString(PropName_Description, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.UriDataAttachment)value).Description); 111global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.UriDataAttachment)value).Uri, Uri);
_generated\88\TestPlatformJsonContext.IListUriDataAttachment.g.cs (11)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IList<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.UriDataAttachment>>? _IListUriDataAttachment; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IList<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.UriDataAttachment>> IListUriDataAttachment 22get => _IListUriDataAttachment ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IList<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.UriDataAttachment>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IList<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.UriDataAttachment>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IList<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.UriDataAttachment>> Create_IListUriDataAttachment(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IList<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.UriDataAttachment>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IList<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.UriDataAttachment>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IList<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.UriDataAttachment>> 37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIListInfo<global::System.Collections.Generic.IList<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.UriDataAttachment>, global::Microsoft.VisualStudio.TestPlatform.ObjectModel.UriDataAttachment>(options, info); 47private void IListUriDataAttachmentSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IList<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.UriDataAttachment>? value)
Serialization\AttachmentConverters.cs (5)
35attachmentSet.Attachments.Add(StjSafe.Deserialize<UriDataAttachment>(attachment.GetRawText(), options)!); 55/// JSON converter for <see cref="UriDataAttachment"/> that handles the lack of a parameterless constructor 58internal class UriDataAttachmentConverter : JsonConverter<UriDataAttachment> 60public override UriDataAttachment? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 73public override void Write(Utf8JsonWriter writer, UriDataAttachment value, JsonSerializerOptions options)
Microsoft.TestPlatform.CrossPlatEngine (4)
DataCollection\DataCollectionTestRunEventsHandler.cs (1)
226foreach (var attachment in attachmentSet.Attachments)
EventHandlers\PathConverter.cs (2)
129private static UriDataAttachment UpdateAttachment(UriDataAttachment attachment, PathConversionDirection _)
PostProcessing\PostProcessingTestRunAttachmentsProcessingEventsHandler.cs (1)
66foreach (var uriDataAttachment in attachmentSet.Attachments)
Microsoft.TestPlatform.Extensions.BlameDataCollector (1)
BlameLogger.cs (1)
133var uriDataAttachment = attachmentSet.Attachments.LastOrDefault((attachment) => attachment.Uri.ToString().EndsWith(".xml"));
Microsoft.TestPlatform.Utilities (3)
CodeCoverageDataAttachmentsHandler.cs (3)
57foreach (var attachment in attachmentSet.Attachments) 80resultAttachmentSet.Attachments.Add(UriDataAttachment.CreateFrom(coverageReport, CoverageFriendlyName)); 86resultAttachmentSet.Attachments.Add(UriDataAttachment.CreateFrom(coverageOtherFilePath, string.Empty));
Microsoft.VisualStudio.TestPlatform.Common (2)
DataCollection\DataCollectionAttachmentManager.cs (1)
306AttachmentSets[fileTransferInfo.Context][uri].Attachments.Add(UriDataAttachment.CreateFrom(localFilePath, fileTransferInfo.Description));
DataCollection\DataCollectionManager.cs (1)
799foreach (var file in entry.Attachments)
Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger (2)
Utility\Converter.cs (2)
457foreach (VisualStudio.TestPlatform.ObjectModel.UriDataAttachment uriDataAttachment in attachmentSet.Attachments) 513foreach (VisualStudio.TestPlatform.ObjectModel.UriDataAttachment uriDataAttachment in attachmentSet.Attachments)
Microsoft.VisualStudio.TestPlatform.ObjectModel (3)
AttachmentSet.cs (3)
35public IList<UriDataAttachment> Attachments { get; private set; } 41Attachments = new List<UriDataAttachment>(); 79public static UriDataAttachment CreateFrom(string localFilePath, string? description)
vstest.console (1)
Internal\ConsoleLogger.cs (1)
693foreach (var uriDataAttachment in attachmentSet.Attachments)
vstest.console.arm64 (1)
src\vstest\src\vstest.console\Internal\ConsoleLogger.cs (1)
693foreach (var uriDataAttachment in attachmentSet.Attachments)