Beispiel #1
0
 private void RemoveAuthority(string nodeid)
 {
     if (mAuthorities.TryRemove(nodeid, out Authority authority))
     {
         Logger.LogInformation("Authority removed '{0}'", nodeid);
         OnAuthorityRemove?.Invoke(mSession, authority);
     }
 }
Beispiel #2
0
 private void RemoveAuthority(string nodeid)
 {
     mAuthorities.TryRemove(nodeid, out Authority authority);
     Log(LogLevel.Information, string.Format("Authority removed '{0}'", nodeid));
     OnAuthorityRemove?.Invoke(mSession, nodeid, authority);
 }