18 references to ProtocolConstants
NuGet.Protocol (18)
Plugins\AutomaticProgressReporter.cs (2)
108
/// is either less than <see cref="
ProtocolConstants
.MinTimeout" /> or greater than
109
/// <see cref="
ProtocolConstants
.MaxTimeout" />.</exception>
Plugins\ConnectionOptions.cs (10)
52
/// is either less than <see cref="
ProtocolConstants
.MinTimeout" /> or greater than
53
/// <see cref="
ProtocolConstants
.MaxTimeout" />.</exception>
55
/// is either less than <see cref="
ProtocolConstants
.MinTimeout" /> or greater than
56
/// <see cref="
ProtocolConstants
.MaxTimeout" />.</exception>
112
/// is either less than <see cref="
ProtocolConstants
.MinTimeout" /> or greater than
113
/// <see cref="
ProtocolConstants
.MaxTimeout" />.</exception>
139
var handshakeTimeout = TimeoutUtilities.GetTimeout(handshakeTimeoutInSeconds,
ProtocolConstants
.HandshakeTimeout);
140
var requestTimeout = TimeoutUtilities.GetTimeout(requestTimeoutInSeconds,
ProtocolConstants
.RequestTimeout);
143
protocolVersion:
ProtocolConstants
.CurrentVersion,
144
minimumProtocolVersion:
ProtocolConstants
.Version100,
Plugins\Messages\InitializeRequest.cs (2)
43
/// is either less than <see cref="
ProtocolConstants
.MinTimeout" /> or greater than
44
/// <see cref="
ProtocolConstants
.MaxTimeout" />.</exception>
Plugins\PluginManager.cs (2)
337
if (plugin.Connection.ProtocolVersion?.Equals(Plugins.
ProtocolConstants
.Version100) == true && (string.IsNullOrEmpty(packageSourceRepository) || serviceIndex == null))
339
throw new ArgumentException("Cannot invoke get operation claims with null arguments on a " + Plugins.
ProtocolConstants
.Version100 + " plugin");
Plugins\TimeoutUtilities.cs (2)
58
if (
ProtocolConstants
.MinTimeout <= timeout && timeout <=
ProtocolConstants
.MaxTimeout)