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