Ejemplo n.º 1
0
 /// <summary>
 /// Creates a new instance of the PriceList class with an already existing <typeparamref name="Google.GData.Spreadsheets.SpreadsheetsService" /> object.
 /// </summary>
 /// <param name="service">The <typeparamref name="Google.GData.Spreadsheets.SpreadsheetsService" /> object with which the instance should be created.</param>
 /// <exception cref="System.ArgumentException">The service doesn't provide any authentication</exception>
 public PriceList(SpreadsheetsService service)
 {
     this.helper = new SpreadsheetHelper(service);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Creates a new instance of the PriceList class with an already existing <typeparamref name="Google.GData.Spreadsheets.SpreadsheetsService" /> object.
 /// </summary>
 /// <param name="service">The <typeparamref name="Google.GData.Spreadsheets.SpreadsheetsService" /> object with which the instance should be created.</param>
 /// <exception cref="System.ArgumentException">The service doesn't provide any authentication</exception>
 public PriceList(SpreadsheetsService service)
 {
     this.helper = new SpreadsheetHelper(service);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Creates a new instance of the PriceList class with a username and a password to login.
 /// </summary>
 /// <param name="username">The username which should be used to login.</param>
 /// <param name="password">The password which should be used to login.</param>
 public PriceList(string username, string password)
 {
     this.helper = new SpreadsheetHelper(username, password);
     password = null;
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Creates a new instance of the PriceList class with a username and a password to login.
 /// </summary>
 /// <param name="username">The username which should be used to login.</param>
 /// <param name="password">The password which should be used to login.</param>
 public PriceList(string username, string password)
 {
     this.helper = new SpreadsheetHelper(username, password);
     password    = null;
 }