Esempio n. 1
0
 public Response FetchApi(string api)
 {
     if (session != null)
     {
         Response response = null;
         lock (responses)
         {
             response       = session.FetchResource(apiRoot[api]);
             responses[api] = response;
         }
         return(response);
     }
     return(null);
 }