public object DoInvoke(InvocationInfo info) { return(JsonRpcClientProcessor.DoInvokeHelper( info, DoInvokeImpl )); }
private async Task <object> DoInvokeImpl(InvocationInfo info) { try { return(await JsonRpcClientProcessor.GetInvokeResultFromImpl( _impl, info ).ConfigureAwait(false)); } catch (Exception exc) { _settings.AdvancedErrorHandling(info, exc); throw; } }
public static IEnumerable <JsonRpcServerMethodInfo> GetMethodInfos(Type t) { return(JsonRpcClientProcessor.GetPublicMethods(t).Select( info => new JsonRpcServerMethodInfo(info) )); }