Exemplo n.º 1
0
 /// <summary>
 /// Creates an instance of this class for use with making API Calls
 /// </summary>
 /// <param name="state">the authorization state required to make the API Calls</param>
 /// <param name="translator">the translator used to transform the data between your C# client code and the Shopify API</param>
 public ShopifyAPIClient(ShopifyAuthorizationState state, IDataTranslator translator)
 {
     this.State = state;
     this.Translator = translator;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Creates an instance of this class for use with making API Calls
 /// </summary>
 /// <param name="state">the authorization state required to make the API Calls</param>
 /// <param name="translator">the translator used to transform the data between your C# client code and the Sapo API</param>
 public SapoAPIClient(SapoAuthorizationState state, IDataTranslator translator)
 {
     this.State      = state;
     this.Translator = translator;
 }
 /// <summary>
 /// Creates an instance of this class for use with making API Calls
 /// </summary>
 /// <param name="sdkKey">the sdk key required to make the API Calls</param>
 /// <param name="translator">the translator used to transform the data between your C# client code and the Shopify API</param>
 public FiveHundredPxAPIClient(string sdkKey, IDataTranslator translator)
 {
     this.SDKKey = sdkKey;
     this.Translator = translator;
 }
 /// <summary>
 /// Creates an instance of this class for use with making API Calls
 /// </summary>
 /// <param name="sdkKey">the sdk key required to make the API Calls</param>
 /// <param name="translator">the translator used to transform the data between your C# client code and the Shopify API</param>
 public FiveHundredPxAPIClient(string sdkKey, IDataTranslator translator)
 {
     this.SDKKey     = sdkKey;
     this.Translator = translator;
 }
Exemplo n.º 5
0
 /// <summary>
 /// Creates an instance of this class for use with making API Calls
 /// </summary>
 /// <param name="state">the authorization state required to make the API Calls</param>
 /// <param name="translator">the translator used to transform the data between your C# client code and the API</param>
 public APIClient(AuthorisationState state, IDataTranslator translator)
 {
     this.State      = state;
     this.Translator = translator;
     UseCompression  = false;
 }
Exemplo n.º 6
0
 /// <summary>
 /// Creates an instance of this class for use with making API
 /// Calls
 /// </summary>
 /// <param name="state">the authorization state required to make the API Calls</param>
 /// <param name="translator">the translator used to transform the data between your C# client code and the Shopify API</param>
 public ShopifyAPIContext(ShopifyAuthorizationState state, IDataTranslator translator)
 {
     this.State      = state;
     this.Translator = translator;
     SetUpResources();
 }
Exemplo n.º 7
0
 /// <summary>
 /// Creates an instance of this class for use with making API Calls
 /// </summary>
 /// <param name="state">the authorization state required to make the API Calls</param>
 /// <param name="translator">the translator used to transform the data between your C# client code and the Haravan API</param>
 public HaravanAPIClient(HaravanAuthorizationState state, IDataTranslator translator)
 {
     this.State      = state;
     this.Translator = translator;
 }