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