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