Esempio 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 Sapo API</param>
 public SapoAPIClient(SapoAuthorizationState state, IDataTranslator translator)
 {
     this.State      = state;
     this.Translator = translator;
 }
Esempio 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>
 public SapoAPIClient(SapoAuthorizationState state)
 {
     this.State = state;
 }