public Estimates Register(Estimate estimate) { var newEstimatesByParticipant = new Dictionary <string, StoryPoints>(_estimatesByParticipant); newEstimatesByParticipant[estimate.ParticipantName] = estimate.StoryPoints; return(new Estimates(newEstimatesByParticipant)); }
private bool Equals(Estimate other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(Equals(other._participantName, _participantName) && Equals(other._storyPoints, _storyPoints)); }
public EstimatedArgs(Estimate estimate) { _estimate = estimate; }
public EstimatedArgs(Estimate estimate) { _estimate = estimate; }
private bool Equals(Estimate other) { if (ReferenceEquals(null, other)) return false; if (ReferenceEquals(this, other)) return true; return Equals(other._participantName, _participantName) && Equals(other._storyPoints, _storyPoints); }