Exemplo n.º 1
0
 public T TranslateObject <T>(String subfieldName, string content)
 {
     if (Translator == null)
     {
         throw new NotSupportedException("ShopfiyApiClient needs a data translator (JSON, XML) before the type safe API can be used.");
     }
     return(Translator.ResourceDecode <T>(subfieldName, content));
 }