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

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