LinqServiceInfo IWcfLinqService.GetInfo(string?configuration) { try { return(_linqService.GetInfo(configuration)); } catch (Exception exception) when(_transferInternalExceptionToClient) { throw new FaultException(exception.ToString()); } }
LinqServiceInfo IGrpcLinqService.GetInfo(GrpcConfiguration configuration, CallContext context) { try { return(_linqService.GetInfo(configuration.Configuration)); } catch (Exception exception) when(_transferInternalExceptionToClient) { throw new RpcException(new Status(StatusCode.Unknown, exception.ToString())); } }