void OnTestOutput(XElement xml) { var testName = xml.Attribute("testname")?.Value; var stream = xml.Attribute("stream")?.Value; var output = xml.Value; TestOutput?.Invoke(this, new TestOutputEventArgs(testName, output, stream)); }