Beispiel #1
0
        private void RegisterEstimate(object sender, EstimatedArgs args)
        {
            if (AllParticipantsHaveEstimated)
                throw new CannotEstimateWhenAllEstimatesAreGivenException();

            _estimates = _estimates.Register(args.Estimate);
            
            if (AllParticipantsHaveEstimated)
                Completed(this, new RoundCompletedArgs(Status));
        }
Beispiel #2
0
        private void RegisterEstimate(object sender, EstimatedArgs args)
        {
            if (AllParticipantsHaveEstimated)
            {
                throw new CannotEstimateWhenAllEstimatesAreGivenException();
            }

            _estimates = _estimates.Register(args.Estimate);

            if (AllParticipantsHaveEstimated)
            {
                Completed(this, new RoundCompletedArgs(Status));
            }
        }