/// <summary> /// Create the summary for the <see cref="LauncherCollection"/>. /// </summary> protected virtual Summary CreateCollectionSummary() { var controller = new SummaryController(); var summary = controller.GetCompleteSummary(Collection); return(summary); }
/// <summary> /// Create the summary for the <see cref="Models.DataProviders.VehicleFamily"/>. /// </summary> protected virtual Summary CreateFamilySummary() { var controller = new SummaryController(); var summary = controller.GetCompleteSummary(Family); return(summary); }
protected virtual void CreateExtraLauncherCollection() { ExtraCollection = new LauncherCollection("A3") { PreviewLocation = @"C:/Nick/TestFolder/CollectionPictures/NothingHere.png", Notes = new List <Note>() { new Note() { Title = "Version Strength", Body = "Has many upper stages for all payload types to help tailor the vehicle to the mission's needs." } } }; // Add the launcher(s) to the collection and then create the summary. ExtraCollection.Launchers.Add(AngaraA3); ExtraCollection.Launchers.Add(AngaraA3BrizM); ExtraCollection.Launchers.Add(AngaraA3KVTK); var controller = new SummaryController(); Collection.Summary = controller.GetCompleteSummary(ExtraCollection); }