Exemplo n.º 1
0
        public Type GetServiceTypeByResponse(Type responseType)
        {
            Operation operation;

            OperationsResponseMap.TryGetValue(responseType, out operation);
            return(operation != null ? operation.ServiceType : null);
        }
Exemplo n.º 2
0
 public Type GetServiceTypeByResponse(Type responseType)
 {
     OperationsResponseMap.TryGetValue(responseType, out var operation);
     return(operation?.ServiceType);
 }