1 implementation of TryAdd
NuGet.Protocol (1)
Plugins\RequestHandlers.cs (1)
60
public bool
TryAdd
(MessageMethod method, IRequestHandler handler)
3 references to TryAdd
NuGet.Protocol (3)
Plugins\PluginFactory.cs (2)
363
requestHandlers.
TryAdd
(MessageMethod.Close, new CloseRequestHandler(plugin));
364
requestHandlers.
TryAdd
(MessageMethod.MonitorNuGetProcessExit, new MonitorNuGetProcessExitRequestHandler(plugin));
Plugins\RequestHandlers\SymmetricHandshake.cs (1)
85
if (!_connection.MessageDispatcher.RequestHandlers.
TryAdd
(MessageMethod.Handshake, this))