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