public Type GetServiceTypeByResponse(Type responseType) { Operation operation; OperationsResponseMap.TryGetValue(responseType, out operation); return(operation != null ? operation.ServiceType : null); }
public Type GetServiceTypeByResponse(Type responseType) { OperationsResponseMap.TryGetValue(responseType, out var operation); return(operation?.ServiceType); }