public TestResult() { this._extension = new Extension(); this._testLimits = new List<Limit>(); this._testData = new TestResultTestData(); this._indictments = new TestResultIndictments(); this._outcome = new Outcome(); }
public Test() { this._testResult = new List<TestResult>(); this._testLimits = new List<Limit>(); this._calibration = new List<Parameter>(); this._outcome = new Outcome(); }
public static bool LoadFromFile(string fileName, out Outcome obj) { System.Exception exception; return LoadFromFile(fileName, out obj, out exception); }
/// <summary> /// Deserializes xml markup from file into an Outcome object /// </summary> /// <param name="fileName">string xml file to load and deserialize</param> /// <param name="obj">Output Outcome object</param> /// <param name="exception">output Exception value if deserialize failed</param> /// <returns>true if this Serializer can deserialize the object; otherwise, false</returns> public static bool LoadFromFile(string fileName, out Outcome obj, out System.Exception exception) { exception = null; obj = default(Outcome); try { obj = LoadFromFile(fileName); return true; } catch (System.Exception ex) { exception = ex; return false; } }
public static bool Deserialize(string input, out Outcome obj) { System.Exception exception; return Deserialize(input, out obj, out exception); }
/// <summary> /// Deserializes workflow markup into an Outcome object /// </summary> /// <param name="input">string workflow markup to deserialize</param> /// <param name="obj">Output Outcome object</param> /// <param name="exception">output Exception value if deserialize failed</param> /// <returns>true if this Serializer can deserialize the object; otherwise, false</returns> public static bool Deserialize(string input, out Outcome obj, out System.Exception exception) { exception = null; obj = default(Outcome); try { obj = Deserialize(input); return true; } catch (System.Exception ex) { exception = ex; return false; } }