/// <summary> /// Constructor for RovioController object /// </summary> /// <param name="settings">RovioSettings object</param> public RovioController(RovioSettings settings) { this.rwc = new RovioWebClient(settings); }
/// <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); }
/// <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)); }