コード例 #1
0
 public InstructorAdapter(List <Instructor> instructors)
 {
     _instructors          = instructors;
     sectionHeaders        = SectionIndexerBuilder.BuildSectionHeaders(instructors);
     positionForSectionMap = SectionIndexerBuilder.BuildPositionForSectionMap(instructors);
     sectionForPositionMap = SectionIndexerBuilder.BuildSectionForPositionMap(instructors);
 }
コード例 #2
0
        public ChatAdapter(List <Chat> chats)
        {
            this.chats = chats;

            sectionHeaders        = SectionIndexerBuilder.BuildSectionHeaders(chats);
            positionForSectionMap = SectionIndexerBuilder.BuildPositionForSectionMap(chats);
            sectionForPositionMap = SectionIndexerBuilder.BuildSectionForPositionMap(chats);
        }