Ejemplo n.º 1
0
        public Estimates Register(Estimate estimate)
        {
            var newEstimatesByParticipant = new Dictionary <string, StoryPoints>(_estimatesByParticipant);

            newEstimatesByParticipant[estimate.ParticipantName] = estimate.StoryPoints;

            return(new Estimates(newEstimatesByParticipant));
        }
Ejemplo n.º 2
0
 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));
 }
Ejemplo n.º 3
0
 public EstimatedArgs(Estimate estimate)
 {
     _estimate = estimate;
 }
Ejemplo n.º 4
0
 public EstimatedArgs(Estimate estimate)
 {
     _estimate = estimate;
 }
Ejemplo n.º 5
0
 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);
 }