コード例 #1
0
ファイル: PriceList.cs プロジェクト: 2wayne/PLF-Helper
 /// <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);
 }
コード例 #2
0
ファイル: PriceList.cs プロジェクト: 2wayne/PLF-Helper
 /// <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);
 }
コード例 #3
0
ファイル: PriceList.cs プロジェクト: 2wayne/PLF-Helper
 /// <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;
 }
コード例 #4
0
ファイル: PriceList.cs プロジェクト: 2wayne/PLF-Helper
 /// <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;
 }