Exemple #1
0
 public void SortSessions(IConference conference, List <SessionDisplayModel> sessions)
 {
     if (conference.CanVote())
     {
         _votingSort.Sort(sessions);
     }
     else
     {
         _defaultSort.Sort(sessions);
     }
 }
 public void SortSessions(IConference conference, List<SessionDisplayModel> sessions)
 {
     if (conference.CanVote())
     {
         _votingSort.Sort(sessions);
     }
     else
     {
         _defaultSort.Sort(sessions);
     }
 }
Exemple #3
0
 public ConferenceLoaderBuilder WithVotingOpen()
 {
     conference.CanVote().Returns(true);
     return(this);
 }