partial void Run()
 {
     if (behave)
     {
         FooClass <string, object> .Foo(new object()).Wait();
     }
     else
     {
         FooClass <string, object> .Foo(null).Wait();
     }
 }
예제 #2
0
 partial void Run()
 {
     if (behave)
     {
         FooClass.Foo <string>("foo").Wait();
     }
     else
     {
         FooClass.Foo <string>(null).Wait();
     }
 }
 partial void Run()
 {
     if (behave)
     {
         FooClass.Foo <string, object>(new object()).Wait();
     }
     else
     {
         FooClass.Foo <string, object>(null).Wait();
         // throw new ArgumentNullException();
     }
 }