2 instantiations of LogResponse
NuGet.Protocol (2)
_generated\71\PluginJsonContext.LogResponse.g.cs (1)
32
ObjectWithParameterizedConstructorCreator = static args => new global::NuGet.Protocol.Plugins.
LogResponse
((global::NuGet.Protocol.Plugins.MessageResponseCode)args[0]),
Plugins\RequestHandlers\LogRequestHandler.cs (1)
93
var response = new
LogResponse
(responseCode);
21 references to LogResponse
NuGet.Protocol (21)
_generated\71\PluginJsonContext.LogResponse.g.cs (15)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Plugins.
LogResponse
>? _LogResponse;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Plugins.
LogResponse
> LogResponse
22
get => _LogResponse ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Plugins.
LogResponse
>)Options.GetTypeInfo(typeof(global::NuGet.Protocol.Plugins.
LogResponse
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Plugins.
LogResponse
> Create_LogResponse(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::NuGet.Protocol.Plugins.
LogResponse
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Plugins.
LogResponse
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::NuGet.Protocol.Plugins.
LogResponse
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Plugins.
LogResponse
).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(global::NuGet.Protocol.Plugins.MessageResponseCode)}, modifiers: null),
41
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::NuGet.Protocol.Plugins.
LogResponse
>(options, objectInfo);
58
DeclaringType = typeof(global::NuGet.Protocol.Plugins.
LogResponse
),
60
Getter = static obj => ((global::NuGet.Protocol.Plugins.
LogResponse
)obj).ResponseCode,
68
AttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Plugins.
LogResponse
).GetProperty("ResponseCode", InstanceMemberBindingFlags, null, typeof(global::NuGet.Protocol.Plugins.MessageResponseCode), global::System.Array.Empty<global::System.Type>(), null),
78
private void LogResponseSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::NuGet.Protocol.Plugins.
LogResponse
? value)
89
global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::NuGet.Protocol.Plugins.
LogResponse
)value).ResponseCode, MessageResponseCode);
_generated\95\PluginJsonContext.GetJsonTypeInfo.g.cs (1)
134
if (type == typeof(global::NuGet.Protocol.Plugins.
LogResponse
))
Plugins\MessageConverter.cs (2)
80
[typeof(
LogResponse
)] = (w, p) => JsonSerializer.Serialize(w, (
LogResponse
)p, PluginJsonContext.Default.LogResponse),
Plugins\Messages\LogResponse.cs (1)
22
/// Initializes a new instance of the <see cref="
LogResponse
" /> class.
Plugins\PluginJsonContext.cs (1)
36
[JsonSerializable(typeof(
LogResponse
))]
Plugins\RequestHandlers\LogRequestHandler.cs (1)
93
var
response = new LogResponse(responseCode);