コード例 #1
0
ファイル: KeePassRPCExt.cs プロジェクト: nhom4git/KeeFox
 private void PromoteNullRPCClient(KeePassRPCClientConnection connection, KeePassRPCClientManager destination)
 {
     lock (_lockRPCClientManagers)
     {
         ((NullRPCClientManager)_RPCClientManagers["null"]).RemoveRPCClientConnection(connection);
         destination.AddRPCClientConnection(connection);
     }
 }
コード例 #2
0
ファイル: KeePassRPCExt.cs プロジェクト: icts-ca/keepassrpc
 private void PromoteGeneralRPCClient(KeePassRPCClientConnection connection, KeePassRPCClientManager destination)
 {
     lock (_lockRPCClientManagers)
     {
         _lockRPCClientManagers.HeldBy = Thread.CurrentThread.ManagedThreadId;
         ((GeneralRPCClientManager)_RPCClientManagers["general"]).RemoveRPCClientConnection(connection);
         destination.AddRPCClientConnection(connection);
     }
 }
コード例 #3
0
ファイル: KeePassRPCExt.cs プロジェクト: PabloElPatron/KeeFox
 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);
     }
 }