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