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