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

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