public SchoolCharacteristicsViewModel(SchoolViewModel school, ComparisonListModel comparisonList, BenchmarkCriteria benchmarkCriteria)
 {
     base.ComparisonList        = comparisonList;
     this.BenchmarkSchool       = school;
     this.SchoolCharacteristics = BuildSchoolCharacteristics(school);
     this.BenchmarkCriteria     = benchmarkCriteria;
 }
 public SearchedSchoolListViewModel(List <SchoolViewModel> modelList, ComparisonListModel comparisonList, string searchType, string nameKeyword, string locationKeyword, string laKeyword, string orderBy = "")
     : base(modelList, comparisonList, orderBy)
 {
     SearchType      = searchType;
     NameKeyword     = nameKeyword;
     LocationKeyword = locationKeyword;
     LaKeyword       = laKeyword;
 }
 public BenchmarkChartListViewModel(List <ChartViewModel> modelList, ComparisonListModel comparisonList, List <ChartViewModel> chartGroups, ComparisonType comparisonType, BenchmarkCriteria advancedCriteria, SimpleCriteria simpleCriteria, SchoolFinancialDataModel benchmarkSchoolData, EstablishmentType estabType, EstablishmentType searchedEstabType, string schoolArea, string selectedArea, string latestTermAcademies, string latestTermMaintained, ComparisonArea areaType, string laCode, string urn, int basketSize, TrustComparisonViewModel trustComparisonList = null)
 {
     base.SchoolComparisonList      = comparisonList;
     base.ModelList                 = modelList;
     this.ChartGroups               = chartGroups;
     this.AdvancedCriteria          = advancedCriteria;
     this.SimpleCriteria            = simpleCriteria;
     this.ComparisonType            = comparisonType;
     this.BenchmarkSchoolData       = benchmarkSchoolData;
     this.EstablishmentType         = estabType;
     this.SearchedEstablishmentType = searchedEstabType;
     this.SchoolArea                = schoolArea;
     this.SelectedArea              = selectedArea;
     this.TrustComparisonList       = trustComparisonList;
     this.LatestTermAcademies       = latestTermAcademies;
     this.LatestTermMaintained      = latestTermMaintained;
     this.AreaType   = areaType;
     this.LaCode     = laCode;
     this.URN        = urn;
     this.BasketSize = basketSize;
 }
示例#4
0
 public SponsorViewModel(string matNo, string name, SchoolListViewModel schoolList, ComparisonListModel comparisonList)
 {
     this.MatNo          = matNo;
     this.Name           = name;
     this.SchoolList     = schoolList;
     base.ComparisonList = comparisonList;
 }
 public SchoolViewModel(dynamic SchoolFinancialDataModel, ComparisonListModel comparisonList)
 {
     base.DataModel      = SchoolFinancialDataModel;
     base.ComparisonList = comparisonList;
 }
 public SponsorListViewModel(List <SponsorViewModel> modelList, ComparisonListModel comparisonList, string orderBy = "")
 {
     base.SchoolComparisonList = comparisonList;
     base.ModelList            = modelList;
     base.OrderBy = orderBy;
 }