private void ValidateTargetCrashed(Target.TargetCrashedEventArgs targetCrashed) { Assert.That(targetCrashed, Is.Not.Null); Assert.That(targetCrashed.ErrorCode, Is.Not.Null); Assert.That(targetCrashed.Status, Is.Not.Null); Assert.That(targetCrashed.TargetId, Is.Not.Null); }
private void OnTargetCrashed(object rawEventArgs) { TargetCrashedEventArgs e = rawEventArgs as TargetCrashedEventArgs; if (e != null && TargetCrashed != null) { TargetCrashed(this, e); } }