public InspectionSaveData(string sector, string cablelocation, string colorpairletter, string sxdx, string end, string comment, bool passFail, string filesavename, int fiberID, IFileSave AppSpecificFileSave, string iecSpecApplied, bool NeedsImage, bool analysisApplied) { AnalysisApplied = analysisApplied; FiberID = fiberID; Sector = sector; GroupingColor = cablelocation; IndividualColor = colorpairletter; CoreNumber = sxdx; End = end; Comment = comment; PassFail = passFail; FileSaveName = filesavename; IECSpecApplied = iecSpecApplied; try { if (NeedsImage) { Image = AppSpecificFileSave.SKImageFromFile(filesavename); } } catch (Exception ex) { Console.WriteLine(ex); } }