public HashSet <string> GetOwnersUnconfirmed() { HashSet <string> Confirmed = new HashSet <string>(); OwnerConfirmations.Where(x => !HasConfirmed(x.Key)).ToList().ForEach(x => Confirmed.Add(x.Key)); return(Confirmed); }
public void RemoveOwner(string psOwner) { if (!IsOwner(psOwner)) { throw new WonkaBrePermissionsException("ERROR! Account(" + psOwner + ") is not a registered owner that is associated with this RuleTree."); } OwnerWeights.Remove(psOwner); OwnerConfirmations.Remove(psOwner); }