private void RemoveAuthority(string nodeid) { if (mAuthorities.TryRemove(nodeid, out Authority authority)) { Logger.LogInformation("Authority removed '{0}'", nodeid); OnAuthorityRemove?.Invoke(mSession, authority); } }
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); }