public AggregatedDatesKey(AggregatedContingent g, LanguageCode language) { this.language = language; StudyEventsTimeTableKindCode = g.Key.StudyEventsTimeTableKindCode; Start = g.Key.Start.TimeOfDay; End = g.Key.End.TimeOfDay; Subject = g.Key.Subject; EventLocations = g.Key.EventLocations; ContingentUnits = new[] { g.Appointment.ContingentUnit }; EducatorsDisplayText = g.Key.EducatorsDisplayText; IsCanceled = g.Appointment.IsCancelled; DontShowEndTimeOnWeb = g.Key.DontShowEndTimeOnWeb; }
public AggregatedDates(AggregatedContingent g, LanguageCode language) { Key = new AggregatedDatesKey(g, language); Date = g.Key.Start.Date; }