Example #1
0
 public Task <MyMethodOutput> MyMethod3(MyMethod3Input input)
 {
     return(Task.FromResult(new MyMethodOutput {
         Result = 42
     }));
 }
Example #2
0
 public MyMethodOutput MyMethod3(MyMethod3Input input)
 {
     return(new MyMethodOutput {
         Result = 42
     });
 }
 public MyMethodOutput MyMethod3(MyMethod3Input input)
 {
     return new MyMethodOutput { Result = 42 };
 }