public Subdivision(FRCApi.Event evt, List <FRCApi.ScheduleMatch> schedule) { this.Event = evt; this.Schedule = schedule; this.ScheduleView = new List <SubdivisionScheduleView>(); foreach (FRCApi.ScheduleMatch s in this.Schedule) { this.ScheduleView.Add(new SubdivisionScheduleView(s)); } }
public Subdivision(FRCApi.Event evt, List <FRCApi.MatchResult> matchList) { this.Event = evt; this.MatchResults = matchList; }