Created
September 1, 2017 07:28
-
-
Save rofr/93c6bf996c5453a6712d0ce098f76b6f to your computer and use it in GitHub Desktop.
Would you put the second return statement in an else block?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public object Execute(Client<T> client, MethodCall methodCall, string signature) | |
{ | |
if (IsMapped && TryGetMappedOperation(methodCall, out var mappedOperation)) | |
{ | |
return ExecuteMapped(client, methodCall, mappedOperation); | |
} | |
return ExecuteImpl(client, methodCall, signature); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment