3 instantiations of GetServiceIndexResponse
NuGet.Protocol (3)
_generated\65\PluginJsonContext.GetServiceIndexResponse.g.cs (1)
32
ObjectWithParameterizedConstructorCreator = static args => new global::NuGet.Protocol.Plugins.
GetServiceIndexResponse
((global::NuGet.Protocol.Plugins.MessageResponseCode)args[0], (string)args[1]),
Plugins\RequestHandlers\GetServiceIndexRequestHandler.cs (2)
131
responsePayload = new
GetServiceIndexResponse
(MessageResponseCode.NotFound, serviceIndexJson: (string)null);
135
responsePayload = new
GetServiceIndexResponse
(MessageResponseCode.Success, serviceIndex.Json);
24 references to GetServiceIndexResponse
NuGet.Protocol (24)
_generated\65\PluginJsonContext.GetServiceIndexResponse.g.cs (17)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Plugins.
GetServiceIndexResponse
>? _GetServiceIndexResponse;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Plugins.
GetServiceIndexResponse
> GetServiceIndexResponse
22
get => _GetServiceIndexResponse ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Plugins.
GetServiceIndexResponse
>)Options.GetTypeInfo(typeof(global::NuGet.Protocol.Plugins.
GetServiceIndexResponse
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Plugins.
GetServiceIndexResponse
> Create_GetServiceIndexResponse(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::NuGet.Protocol.Plugins.
GetServiceIndexResponse
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Plugins.
GetServiceIndexResponse
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::NuGet.Protocol.Plugins.
GetServiceIndexResponse
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Plugins.
GetServiceIndexResponse
).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(global::NuGet.Protocol.Plugins.MessageResponseCode), typeof(string)}, modifiers: null),
41
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::NuGet.Protocol.Plugins.
GetServiceIndexResponse
>(options, objectInfo);
58
DeclaringType = typeof(global::NuGet.Protocol.Plugins.
GetServiceIndexResponse
),
60
Getter = static obj => ((global::NuGet.Protocol.Plugins.
GetServiceIndexResponse
)obj).ResponseCode,
68
AttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Plugins.
GetServiceIndexResponse
).GetProperty("ResponseCode", InstanceMemberBindingFlags, null, typeof(global::NuGet.Protocol.Plugins.MessageResponseCode), global::System.Array.Empty<global::System.Type>(), null),
78
DeclaringType = typeof(global::NuGet.Protocol.Plugins.
GetServiceIndexResponse
),
80
Getter = static obj => ((global::NuGet.Protocol.Plugins.
GetServiceIndexResponse
)obj).ServiceIndexJson,
88
AttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Plugins.
GetServiceIndexResponse
).GetProperty("ServiceIndexJson", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
98
DeclaringType = typeof(global::NuGet.Protocol.Plugins.
GetServiceIndexResponse
),
_generated\95\PluginJsonContext.GetJsonTypeInfo.g.cs (1)
110
if (type == typeof(global::NuGet.Protocol.Plugins.
GetServiceIndexResponse
))
Plugins\MessageConverter.cs (2)
74
[typeof(
GetServiceIndexResponse
)] = (w, p) => JsonSerializer.Serialize(w, (
GetServiceIndexResponse
)p, PluginJsonContext.Default.GetServiceIndexResponse),
Plugins\Messages\GetServiceIndexResponse.cs (2)
44
/// Initializes a new instance of the <see cref="
GetServiceIndexResponse
" /> class.
79
/// Initializes a new instance of the <see cref="
GetServiceIndexResponse
" /> class.
Plugins\PluginJsonContext.cs (1)
30
[JsonSerializable(typeof(
GetServiceIndexResponse
))]
Plugins\RequestHandlers\GetServiceIndexRequestHandler.cs (1)
122
GetServiceIndexResponse
responsePayload;