31 references to Success
NuGet.Protocol (31)
Plugins\Messages\CopyFilesInPackageResponse.cs (2)
38/// is <see cref="MessageResponseCode.Success" /> and <paramref name="copiedFiles" /> 53if (responseCode == MessageResponseCode.Success && (copiedFiles == null || !copiedFiles.Any()))
Plugins\Messages\GetAuthenticationCredentialsResponse.cs (1)
82public bool IsValid() => ResponseCode == MessageResponseCode.Success && (!string.IsNullOrWhiteSpace(Username) || !string.IsNullOrWhiteSpace(Password))
Plugins\Messages\GetFilesInPackageResponse.cs (2)
38/// is <see cref="MessageResponseCode.Success" /> and <paramref name="files" /> 53if (responseCode == MessageResponseCode.Success && (files == null || !files.Any()))
Plugins\Messages\GetPackageHashResponse.cs (2)
35/// is <see cref="MessageResponseCode.Success" /> and <paramref name="hash" /> 50if (responseCode == MessageResponseCode.Success && string.IsNullOrEmpty(hash))
Plugins\Messages\GetPackageVersionsResponse.cs (2)
38/// is <see cref="MessageResponseCode.Success" /> and <paramref name="versions" /> 53if (responseCode == MessageResponseCode.Success && (versions == null || !versions.Any()))
Plugins\Messages\GetServiceIndexResponse.cs (2)
37/// is <see cref="MessageResponseCode.Success" /> and <paramref name="serviceIndex" /> 52if (responseCode == MessageResponseCode.Success && serviceIndex == null)
Plugins\Messages\HandshakeResponse.cs (3)
39/// is <see cref="MessageResponseCode.Success" /> and <paramref name="protocolVersion" /> 42/// is not <see cref="MessageResponseCode.Success" /> and <paramref name="protocolVersion" /> 57if (responseCode == MessageResponseCode.Success)
Plugins\PluginManager.cs (1)
424if (response != null && response.ResponseCode != MessageResponseCode.Success)
Plugins\PluginPackageDownloader.cs (1)
207if (response != null && response.ResponseCode == MessageResponseCode.Success)
Plugins\PluginPackageReader.cs (4)
295case MessageResponseCode.Success: 943case MessageResponseCode.Success: 1042case MessageResponseCode.Success: 1081case MessageResponseCode.Success:
Plugins\RequestHandlers\GetCredentialsRequestHandler.cs (3)
163MessageResponseCode.Success, 171MessageResponseCode.Success, 180networkCredential != null ? MessageResponseCode.Success : MessageResponseCode.NotFound,
Plugins\RequestHandlers\GetServiceIndexRequestHandler.cs (1)
138responsePayload = new GetServiceIndexResponse(MessageResponseCode.Success, serviceIndexJson);
Plugins\RequestHandlers\LogRequestHandler.cs (1)
86responseCode = MessageResponseCode.Success;
Plugins\RequestHandlers\MonitorNuGetProcessExitRequestHandler.cs (1)
119responseCode = MessageResponseCode.Success;
Plugins\RequestHandlers\SymmetricHandshake.cs (2)
127if (response != null && response.ResponseCode == MessageResponseCode.Success) 200response = new HandshakeResponse(MessageResponseCode.Success, negotiatedProtocolVersion);
RemoteRepositories\PluginFindPackageByIdResource.cs (2)
291if (response != null && response.ResponseCode == MessageResponseCode.Success) 425case MessageResponseCode.Success:
Resources\DownloadResourcePlugin.cs (1)
124if (response.ResponseCode == MessageResponseCode.Success)