The ConnectionMethods class contains the methods requried for connecting and making calls to the API.
 /// <summary>
 /// Initializes a new instance of the SellingMethods class.
 /// </summary>
 /// <param name="connect">A ConnectionMethods class used to make calls to the API</param>
 public SellingMethods(ConnectionMethods connect)
 {
     _connection = connect;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the Client class.
 /// </summary>
 /// <param name="consumerKey">The consumer key.</param>
 /// <param name="consumerSecret">The consumer secret.</param>
 /// <param name="accessToken">The access token.</param>
 public Client(string consumerKey, string consumerSecret, IToken accessToken)
 {
     _connection = new ConnectionMethods(consumerKey, consumerSecret, accessToken);
 }
 /// <summary>
 /// Initializes a new instance of the FavouriteMethods class.
 /// </summary>
 /// <param name="connect">A ConnectionMethods class used to make calls to the API</param>
 public FavouriteMethods(ConnectionMethods connect)
 {
     _connection = connect;
 }
Esempio n. 4
0
 /// <summary>
 /// Initializes a new instance of the MyTradeMeMethods class.
 /// </summary>
 /// <param name="connect">A ConnectionMethods class used to make calls to the API</param>
 public MyTradeMeMethods(ConnectionMethods connect)
 {
     _connection = connect;
 }
Esempio n. 5
0
 /// <summary>
 /// Initializes a new instance of the MembershipMethods class.
 /// </summary>
 /// <param name="connect">A ConnectionMethods class used to make calls to the API</param>
 public MembershipMethods(ConnectionMethods connect)
 {
     _connection = connect;
 }
 /// <summary>
 /// Initializes a new instance of the PhotoMethods class.
 /// </summary>
 /// <param name="connect">A ConnectionMethods class used to make calls to the API</param>
 public PhotoMethods(ConnectionMethods connect)
 {
     _connection = connect;
 }
 /// <summary>
 /// Initializes a new instance of the BiddingMethods class.
 /// </summary>
 /// <param name="connect">A ConnectionMethods class used to make calls to the API</param>
 public BiddingMethods(ConnectionMethods connect)
 {
     _connection = connect;
 }
Esempio n. 8
0
 /// <summary>
 /// Initializes a new instance of the Client class.
 /// </summary>
 /// <param name="consumerKey">The consumer key.</param>
 /// <param name="consumerSecret">The consumer secret.</param>
 /// <param name="scopeOfRequest">The scope of the requests that can be made.</param>
 public Client(string consumerKey, string consumerSecret, string scopeOfRequest)
 {
     _connection = new ConnectionMethods(consumerKey, consumerSecret, scopeOfRequest);
 }
 /// <summary>
 /// Initializes a new instance of the BiddingMethods class.
 /// </summary>
 /// <param name="connect">A ConnectionMethods class used to make calls to the API</param>
 public BiddingMethods(ConnectionMethods connect)
 {
     _connection = connect;
 }
 /// <summary>
 /// Initializes a new instance of the CatalogueMethods class.
 /// </summary>
 /// <param name="connect">A ConnectionMethods class used to make calls to the API</param>
 public CatalogueMethods(ConnectionMethods connect)
 {
     _connection = connect;
 }
 /// <summary>
 /// Initializes a new instance of the SearchMethods class.
 /// </summary>
 /// <param name="connect">A ConnectionMethods class used to make calls to the API</param>
 public SearchMethods(ConnectionMethods connect)
 {
     _connection = connect;
 }
 /// <summary>
 /// Initializes a new instance of the CatalogueMethods class.
 /// </summary>
 /// <param name="connect">A ConnectionMethods class used to make calls to the API</param>
 public CatalogueMethods(ConnectionMethods connect)
 {
     _connection = connect;
 }
 /// <summary>
 /// Initializes a new instance of the MyTradeMeMethods class.
 /// </summary>
 /// <param name="connect">A ConnectionMethods class used to make calls to the API</param>
 public MyTradeMeMethods(ConnectionMethods connect)
 {
     _connection = connect;
 }
Esempio n. 14
0
 /// <summary>
 /// Initializes a new instance of the Client class.
 /// </summary>
 public Client()
 {
     _connection = new ConnectionMethods();
 }
 /// <summary>
 /// Initializes a new instance of the FixedPriceOfferMethods class.
 /// </summary>
 /// <param name="connect">A ConnectionMethods class used to make calls to the API</param>
 public FixedPriceOfferMethods(ConnectionMethods connect)
 {
     _connection = connect;
 }
Esempio n. 16
0
 /// <summary>
 /// Initializes a new instance of the Client class.
 /// </summary>
 /// <param name="consumerKey">The consumer key.</param>
 /// <param name="consumerSecret">The consumer secret.</param>
 public Client(string consumerKey, string consumerSecret)
 {
     _connection = new ConnectionMethods(consumerKey, consumerSecret);
 }
 /// <summary>
 /// Initializes a new instance of the MembershipMethods class.
 /// </summary>
 /// <param name="connect">A ConnectionMethods class used to make calls to the API</param>
 public MembershipMethods(ConnectionMethods connect)
 {
     _connection = connect;
 }
Esempio n. 18
0
 /// <summary>
 /// Initializes a new instance of the FavouriteMethods class.
 /// </summary>
 /// <param name="connect">A ConnectionMethods class used to make calls to the API</param>
 public FavouriteMethods(ConnectionMethods connect)
 {
     _connection = connect;
 }
Esempio n. 19
0
 /// <summary>
 /// Initializes a new instance of the ListingMethods class.
 /// </summary>
 /// <param name="connect">A ConnectionMethods class used to make calls to the API</param>
 public ListingMethods(ConnectionMethods connect)
 {
     _connection = connect;
 }
 /// <summary>
 /// Initializes a new instance of the ListingMethods class.
 /// </summary>
 /// <param name="connect">A ConnectionMethods class used to make calls to the API</param>
 public ListingMethods(ConnectionMethods connect)
 {
     _connection = connect;
 }
Esempio n. 21
0
 /// <summary>
 /// Initializes a new instance of the FixedPriceOfferMethods class.
 /// </summary>
 /// <param name="connect">A ConnectionMethods class used to make calls to the API</param>
 public FixedPriceOfferMethods(ConnectionMethods connect)
 {
     _connection = connect;
 }
 /// <summary>
 /// Initializes a new instance of the SellingMethods class.
 /// </summary>
 /// <param name="connect">A ConnectionMethods class used to make calls to the API</param>
 public SellingMethods(ConnectionMethods connect)
 {
     _connection = connect;
 }
Esempio n. 23
0
 /// <summary>
 /// Initializes a new instance of the PhotoMethods class.
 /// </summary>
 /// <param name="connect">A ConnectionMethods class used to make calls to the API</param>
 public PhotoMethods(ConnectionMethods connect)
 {
     _connection = connect;
 }