3 instantiations of SetCredentialsRequest
NuGet.Credentials (1)
SecurePluginCredentialProvider.cs (1)
184var proxyCredRequest = new SetCredentialsRequest(
NuGet.Protocol (2)
_generated\80\PluginJsonContext.SetCredentialsRequest.g.cs (1)
32ObjectWithParameterizedConstructorCreator = static args => new global::NuGet.Protocol.Plugins.SetCredentialsRequest((string)args[0], (string)args[1], (string)args[2], (string)args[3], (string)args[4]),
Resources\PluginResource.cs (1)
135return new SetCredentialsRequest(
41 references to SetCredentialsRequest
NuGet.Credentials (2)
SecurePluginCredentialProvider.cs (2)
184var proxyCredRequest = new SetCredentialsRequest( 194plugin.Plugin.Connection.SendRequestAndReceiveResponseAsync<SetCredentialsRequest, SetCredentialsResponse>(
NuGet.Protocol (39)
_generated\80\PluginJsonContext.SetCredentialsRequest.g.cs (31)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Plugins.SetCredentialsRequest>? _SetCredentialsRequest; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Plugins.SetCredentialsRequest> SetCredentialsRequest 22get => _SetCredentialsRequest ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Plugins.SetCredentialsRequest>)Options.GetTypeInfo(typeof(global::NuGet.Protocol.Plugins.SetCredentialsRequest)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Plugins.SetCredentialsRequest> Create_SetCredentialsRequest(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::NuGet.Protocol.Plugins.SetCredentialsRequest>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Plugins.SetCredentialsRequest> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::NuGet.Protocol.Plugins.SetCredentialsRequest> 35ConstructorAttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Plugins.SetCredentialsRequest).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string), typeof(string), typeof(string), typeof(string), typeof(string)}, modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::NuGet.Protocol.Plugins.SetCredentialsRequest>(options, objectInfo); 58DeclaringType = typeof(global::NuGet.Protocol.Plugins.SetCredentialsRequest), 60Getter = static obj => ((global::NuGet.Protocol.Plugins.SetCredentialsRequest)obj).PackageSourceRepository, 68AttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Plugins.SetCredentialsRequest).GetProperty("PackageSourceRepository", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 78DeclaringType = typeof(global::NuGet.Protocol.Plugins.SetCredentialsRequest), 80Getter = static obj => ((global::NuGet.Protocol.Plugins.SetCredentialsRequest)obj).Password, 88AttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Plugins.SetCredentialsRequest).GetProperty("Password", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 98DeclaringType = typeof(global::NuGet.Protocol.Plugins.SetCredentialsRequest), 100Getter = static obj => ((global::NuGet.Protocol.Plugins.SetCredentialsRequest)obj).ProxyPassword, 108AttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Plugins.SetCredentialsRequest).GetProperty("ProxyPassword", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 118DeclaringType = typeof(global::NuGet.Protocol.Plugins.SetCredentialsRequest), 120Getter = static obj => ((global::NuGet.Protocol.Plugins.SetCredentialsRequest)obj).ProxyUsername, 128AttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Plugins.SetCredentialsRequest).GetProperty("ProxyUsername", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 138DeclaringType = typeof(global::NuGet.Protocol.Plugins.SetCredentialsRequest), 140Getter = static obj => ((global::NuGet.Protocol.Plugins.SetCredentialsRequest)obj).Username, 148AttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Plugins.SetCredentialsRequest).GetProperty("Username", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 158private void SetCredentialsRequestSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::NuGet.Protocol.Plugins.SetCredentialsRequest? value) 168string __value_PackageSourceRepository = ((global::NuGet.Protocol.Plugins.SetCredentialsRequest)value).PackageSourceRepository; 173string __value_Password = ((global::NuGet.Protocol.Plugins.SetCredentialsRequest)value).Password; 178string __value_ProxyPassword = ((global::NuGet.Protocol.Plugins.SetCredentialsRequest)value).ProxyPassword; 183string __value_ProxyUsername = ((global::NuGet.Protocol.Plugins.SetCredentialsRequest)value).ProxyUsername; 188string __value_Username = ((global::NuGet.Protocol.Plugins.SetCredentialsRequest)value).Username;
_generated\95\PluginJsonContext.GetJsonTypeInfo.g.cs (1)
170if (type == typeof(global::NuGet.Protocol.Plugins.SetCredentialsRequest))
Plugins\MessageConverter.cs (2)
83[typeof(SetCredentialsRequest)] = (w, p) => JsonSerializer.Serialize(w, (SetCredentialsRequest)p, PluginJsonContext.Default.SetCredentialsRequest),
Plugins\Messages\SetCredentialsRequest.cs (1)
43/// Initializes a new <see cref="SetCredentialsRequest" /> class.
Plugins\PluginJsonContext.cs (1)
42[JsonSerializable(typeof(SetCredentialsRequest))]
Resources\PluginResource.cs (3)
96var payload = CreateRequest(); 98await plugin.Connection.SendRequestAndReceiveResponseAsync<SetCredentialsRequest, SetCredentialsResponse>( 104private SetCredentialsRequest CreateRequest()