예제 #1
0
파일: user.cs 프로젝트: capaj/Democracy-2.0
 public bool CastVoteFromLeader(IVotingLeader leader, Voting onWhat, Vote vote)
 {
     bool voteRegistered = onWhat.RegisterVote(vote);
     if (voteRegistered)
     {
         VoteCast(this, onWhat, vote);
     }
     return voteRegistered;
 }
예제 #2
0
파일: user.cs 프로젝트: capaj/Democracy-2.0
        public bool CastVote(Voting onWhat, Vote vote)
        {
            bool voteRegistered = onWhat.RegisterVote(vote);
            if (voteRegistered)
	        {
                VoteCast(this, onWhat, vote);
	        }
            return voteRegistered;
        }
예제 #3
0
        public bool CastVote(Dem2Model.Voting onWhat, Vote vote)
        {
            bool voteRegistered = onWhat.RegisterVote(vote);

            if (voteRegistered)
            {
                VoteCast(this, onWhat, vote);
            }
            return(voteRegistered);
        }
예제 #4
0
파일: user.cs 프로젝트: capaj/Democracy-2.0
        public bool CastVoteFromLeader(IVotingLeader leader, Voting onWhat, Vote vote)
        {
            bool voteRegistered = onWhat.RegisterVote(vote);

            if (voteRegistered)
            {
                VoteCast(this, onWhat, vote);
            }
            return(voteRegistered);
        }