예제 #1
0
        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);
        }
예제 #2
0
        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);
        }