Issued when a target has crashed.
Inheritance: EventArgs
コード例 #1
0
 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);
 }
コード例 #2
0
        private void OnTargetCrashed(object rawEventArgs)
        {
            TargetCrashedEventArgs e = rawEventArgs as TargetCrashedEventArgs;

            if (e != null && TargetCrashed != null)
            {
                TargetCrashed(this, e);
            }
        }