Beispiel #1
0
 public void AsyncTask00()
 {
     Assert.Throws <ArgumentNullException>(() =>
     {
         // The first argument cannot be null.
         var task = new SampleAsyncTask(null);
     });
 }
Beispiel #2
0
 public void AsyncTask00()
 {
     Assert.Throws<ArgumentNullException>(() =>
     {
         // The first argument cannot be null.
         var task = new SampleAsyncTask(null);
     });
 }