protected void OnSqlTestComplete(ISqlTestResult result) { if (result == null) throw new ArgumentNullException("result", "Test result required"); if (SqlTestComplete != null) SqlTestComplete(this, new SqlTestCompleteEventArgs(this, result)); }
protected void OnSqlTestComplete(ISqlTestFixture sender, ISqlTestResult result) { if (SqlTestComplete != null) SqlTestComplete(this, new SqlTestCompleteEventArgs(sender, result)); }
public SqlTestCompleteEventArgs(ISqlTestFixture test, ISqlTestResult result) { Result = result; Test = test; }