예제 #1
0
 public MyMethodOutput MyMethod5(MyMethod5Input input)
 {
     return(new MyMethodOutput {
         Result = 42
     });
 }
 public Task <MyMethodOutput> MyMethod5(MyMethod5Input input)
 {
     return(Task.FromResult(new MyMethodOutput {
         Result = 42
     }));
 }