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