public static StandardizedTestViewData Create(StandardizedTest standardizedTest, IList <StandardizedTestComponent> components, IList <StandardizedTestScoreType> scoreTypes) { return(new StandardizedTestViewData(standardizedTest, components, scoreTypes)); }
public static ShortStandardizedTestViewData Create(StandardizedTest standardizedTest) { return(new ShortStandardizedTestViewData(standardizedTest)); }
protected StandardizedTestViewData(StandardizedTest standardizedTest, IList <StandardizedTestComponent> components, IList <StandardizedTestScoreType> scoreTypes) : base(standardizedTest) { Components = components.Select(StandardizedTestComponentViewData.Create).ToList(); ScoreTypes = scoreTypes.Select(StandardizedTestScoreTypeViewData.Create).ToList(); }
protected ShortStandardizedTestViewData(StandardizedTest standardizedTest) { Id = standardizedTest.Id; Name = standardizedTest.Name; DisplayName = standardizedTest.DisplayName; }