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