public ProblemImageCollection( string baseURI, string intro, string success, string failPowerLimit, string failTooHot, string failStrutBreaks, PickerImageCollection pickerImageCollection) { this.baseURI = baseURI; this.intro = intro; this.success = success; this.failPowerLimit = failPowerLimit; this.failTooHot = failTooHot; this.failStrutBreaks = failStrutBreaks; this.pickerImageCollection = pickerImageCollection; }
public ProblemImageCollection(XPathNavigator navigator) { navigator.MoveToChild("baseURI", ""); baseURI = navigator.Value; navigator.MoveToNext("intro", ""); intro = navigator.Value; navigator.MoveToNext("success", ""); success = navigator.Value; navigator.MoveToNext("failPowerLimitExceeded", ""); failPowerLimit = navigator.Value; navigator.MoveToNext("failTargetTempNotMet", ""); failTooHot = navigator.Value; navigator.MoveToNext("failStrutBreaks", ""); failStrutBreaks = navigator.Value; navigator.MoveToNext("pickerImageArray", ""); pickerImageCollection = new PickerImageCollection(navigator.Clone()); }