Пример #1
0
 private void PromoteNullRPCClient(KeePassRPCClientConnection connection, KeePassRPCClientManager destination)
 {
     lock (_lockRPCClientManagers)
     {
         ((NullRPCClientManager)_RPCClientManagers["null"]).RemoveRPCClientConnection(connection);
         destination.AddRPCClientConnection(connection);
     }
 }
Пример #2
0
 private void PromoteGeneralRPCClient(KeePassRPCClientConnection connection, KeePassRPCClientManager destination)
 {
     lock (_lockRPCClientManagers)
     {
         _lockRPCClientManagers.HeldBy = Thread.CurrentThread.ManagedThreadId;
         ((GeneralRPCClientManager)_RPCClientManagers["general"]).RemoveRPCClientConnection(connection);
         destination.AddRPCClientConnection(connection);
     }
 }
Пример #3
0
 private void PromoteNullRPCClient(KeePassRPCClientConnection connection, KeePassRPCClientManager destination)
 {
     lock (_lockRPCClientManagers)
     {
         _lockRPCClientManagers.HeldBy = Thread.CurrentThread.ManagedThreadId;
         ((NullRPCClientManager)_RPCClientManagers["null"]).RemoveRPCClientConnection(connection);
         destination.AddRPCClientConnection(connection);
     }
 }
Пример #4
0
 private void PromoteNullRPCClient(KeePassRPCClientConnection connection, KeePassRPCClientManager destination)
 {
     lock (_lockRPCClientManagers)
     {
         ((NullRPCClientManager)_RPCClientManagers["null"]).RemoveRPCClientConnection(connection);
         destination.AddRPCClientConnection(connection);
     }
 }