public MyMethodOutput MyMethod(MyMethodInput input) { return(new MyMethodOutput { Result = 42 }); }
public Task <string> MyMethodAsync(MyMethodInput input) { return(Task.FromResult(input.MyStringValue + input.MyMethodInput2.MyStringValue2 + input.MyMethodInput3.MyStringValue3)); }
public string MyMethod(MyMethodInput input) { return(input.MyStringValue + input.MyMethodInput2.MyStringValue2 + input.MyMethodInput3.MyStringValue3); }
public Task <MyMethodOutput> MyMethod(MyMethodInput input) { return(Task.FromResult(new MyMethodOutput { Result = 42 })); }
public MyMethodOutput MyMethod(MyMethodInput input) { return new MyMethodOutput { Result = 42 }; }