18 references to ProtocolConstants
NuGet.Protocol (18)
Plugins\AutomaticProgressReporter.cs (2)
110
/// is either less than <see cref="
ProtocolConstants
.MinTimeout" /> or greater than
111
/// <see cref="
ProtocolConstants
.MaxTimeout" />.</exception>
Plugins\ConnectionOptions.cs (10)
54
/// is either less than <see cref="
ProtocolConstants
.MinTimeout" /> or greater than
55
/// <see cref="
ProtocolConstants
.MaxTimeout" />.</exception>
57
/// is either less than <see cref="
ProtocolConstants
.MinTimeout" /> or greater than
58
/// <see cref="
ProtocolConstants
.MaxTimeout" />.</exception>
114
/// is either less than <see cref="
ProtocolConstants
.MinTimeout" /> or greater than
115
/// <see cref="
ProtocolConstants
.MaxTimeout" />.</exception>
141
var handshakeTimeout = TimeoutUtilities.GetTimeout(handshakeTimeoutInSeconds,
ProtocolConstants
.HandshakeTimeout);
142
var requestTimeout = TimeoutUtilities.GetTimeout(requestTimeoutInSeconds,
ProtocolConstants
.RequestTimeout);
145
protocolVersion:
ProtocolConstants
.CurrentVersion,
146
minimumProtocolVersion:
ProtocolConstants
.Version100,
Plugins\Messages\InitializeRequest.cs (2)
45
/// is either less than <see cref="
ProtocolConstants
.MinTimeout" /> or greater than
46
/// <see cref="
ProtocolConstants
.MaxTimeout" />.</exception>
Plugins\PluginManager.cs (2)
334
if (plugin.Connection.ProtocolVersion.Equals(Plugins.
ProtocolConstants
.Version100) && (string.IsNullOrEmpty(packageSourceRepository) || serviceIndex == null))
336
throw new ArgumentException("Cannot invoke get operation claims with null arguments on a " + Plugins.
ProtocolConstants
.Version100 + " plugin");
Plugins\TimeoutUtilities.cs (2)
60
if (
ProtocolConstants
.MinTimeout <= timeout && timeout <=
ProtocolConstants
.MaxTimeout)