示例#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);
     }
 }
示例#3
0
 public ConferenceLoaderBuilder WithVotingOpen()
 {
     conference.CanVote().Returns(true);
     return(this);
 }