Пример #1
0
 public void Test()
 {
     HelloWorld.Say <IFoo>().RunSynchronously();
     HelloWorld.Hello <IBar>();
 }
Пример #2
0
 public async Task TestAsync()
 {
     HelloWorld.Hello <IBar>();
     await HelloWorld.Say <IFoo>();
 }