Exemple #1
0
 public void OnDiagnostic(IDiagnostic d)
 {
     if (typeof(T) == d.GetType())
     {
         _diagnostics.Add(d);
     }
 }
Exemple #2
0
 public void OnDiagnostic(IDiagnostic d)
 {
     if ((d is NativeQueryNotOptimized) || (d is NativeQueryOptimizerNotLoaded))
     {
         MessageBox.Show(d.GetType() + "\r\n" + d, "Info");
     }
 }
			public void OnDiagnostic(IDiagnostic d)
			{
				if (d.GetType() == typeof(NativeQueryNotOptimized))
				{
					//							_reason = ((NativeQueryNotOptimized) d).reason();
					this._enclosing._failed = true;
				}
			}
Exemple #4
0
 public void OnDiagnostic(IDiagnostic d)
 {
     if (d.GetType() == typeof(NativeQueryNotOptimized))
     {
         //							_reason = ((NativeQueryNotOptimized) d).reason();
         this._enclosing._failed = true;
     }
 }
 public void OnDiagnostic(IDiagnostic diagnostic)
 {
     Type type = diagnostic.GetType();
     if (filterFor.Contains(type))
     {
         target.OnDiagnostic(diagnostic);
     }
 }
Exemple #6
0
            public void OnDiagnostic(IDiagnostic diagnostic)
            {
                Type type = diagnostic.GetType();

                if (filterFor.Contains(type))
                {
                    target.OnDiagnostic(diagnostic);
                }
            }
Exemple #7
0
		public void OnDiagnostic(IDiagnostic d)
		{
			if ( (d is NativeQueryNotOptimized) || (d is NativeQueryOptimizerNotLoaded))
			{
				MessageBox.Show(d.GetType() + "\r\n"+  d, "Info");
			}
		}