示例#1
0
 public void TestDefaults()
 {
     var ex = new Exception("");
       var args = new ScanErrorEventArgs(ScanErrorSource.File, "apath", ex);
       Assert.That(args.Path, Is.EqualTo("apath"));
       Assert.That(args.Exception, Is.EqualTo(ex));
       Assert.That(args.Source, Is.EqualTo(ScanErrorSource.File));
 }
示例#2
0
 public void HandleError(ScanErrorEventArgs args)
 {
     OnError.RaiseEvent(mConfig, args);
 }