Пример #1
0
 /// <summary>
 /// Constructor for RovioController object
 /// </summary>
 /// <param name="settings">RovioSettings object</param>
 public RovioController(RovioSettings settings)
 {
     this.rwc = new RovioWebClient(settings);
 }
Пример #2
0
 /// <summary>
 /// Constructor to RovioController object
 /// </summary>
 /// <param name="username">Username to access Rovio</param>
 /// <param name="password">Password to access Rovio</param>
 /// <param name="address">Address to acces Rovio</param>
 public RovioController(string username, string password, string address)
 {
     this.rovioSettings = new RovioSettings(username, password, address);
     this.rwc           = new RovioWebClient(this.rovioSettings);
 }
Пример #3
0
 /// <summary>
 /// Constructor for RovioController object 
 /// </summary>
 /// <param name="username">Username to access Rovio</param>
 /// <param name="password">Password to access Rovio</param>
 /// <param name="address">Address to acces Rovio</param>
 public RovioController(string username, string password, string address)
 {
     this.rwc = new RovioWebClient(new RovioSettings(username, password, address));
 }