2 instantiations of Progress
NuGet.Protocol (2)
_generated\79\PluginJsonContext.Progress.g.cs (1)
32ObjectWithParameterizedConstructorCreator = static args => new global::NuGet.Protocol.Plugins.Progress((double?)args[0]),
Plugins\AutomaticProgressReporter.cs (1)
181new Progress());
25 references to Progress
NuGet.Protocol (25)
_generated\79\PluginJsonContext.Progress.g.cs (15)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Plugins.Progress>? _Progress; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Plugins.Progress> Progress 22get => _Progress ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Plugins.Progress>)Options.GetTypeInfo(typeof(global::NuGet.Protocol.Plugins.Progress)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Plugins.Progress> Create_Progress(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::NuGet.Protocol.Plugins.Progress>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Plugins.Progress> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::NuGet.Protocol.Plugins.Progress> 35ConstructorAttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Plugins.Progress).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(double?)}, modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::NuGet.Protocol.Plugins.Progress>(options, objectInfo); 58DeclaringType = typeof(global::NuGet.Protocol.Plugins.Progress), 60Getter = static obj => ((global::NuGet.Protocol.Plugins.Progress)obj).Percentage, 68AttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Plugins.Progress).GetProperty("Percentage", InstanceMemberBindingFlags, null, typeof(double?), global::System.Array.Empty<global::System.Type>(), null), 78private void ProgressSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::NuGet.Protocol.Plugins.Progress? value) 88double? __value_Percentage = ((global::NuGet.Protocol.Plugins.Progress)value).Percentage;
_generated\95\PluginJsonContext.GetJsonTypeInfo.g.cs (1)
166if (type == typeof(global::NuGet.Protocol.Plugins.Progress))
Plugins\IMessageDispatcher.cs (1)
72Task DispatchProgressAsync(Message request, Progress progress, CancellationToken cancellationToken);
Plugins\MessageConverter.cs (2)
100[typeof(Progress)] = (w, p) => JsonSerializer.Serialize(w, (Progress)p, PluginJsonContext.Default.Progress),
Plugins\MessageDispatcher.cs (2)
241public Task DispatchProgressAsync(Message request, Progress progress, CancellationToken cancellationToken) 441Progress progress,
Plugins\Messages\Progress.cs (1)
20/// Initializes a new instance of the <see cref="Progress" /> class.
Plugins\OutboundRequestContext`1.cs (2)
159var payload = MessageUtilities.DeserializePayload<Progress>(progress);
Plugins\PluginJsonContext.cs (1)
41[JsonSerializable(typeof(Progress))]