예제 #1
0
 public PluginConfiguration()
 {
     lineup = new Headend() {Name = "", Id = ""};
     username = "";
     hashPassword = "";
     zipCode = "";
 }
 public SchedulesDirect(string username, string password, Headend lineup, ILogger logger,
                        IJsonSerializer jsonSerializer, IHttpClient httpClient)
 {
     this.username   = username;
     this.password   = password;
     this._lineup    = lineup;
     _logger         = logger;
     _jsonSerializer = jsonSerializer;
     _httpClient     = httpClient;
     apiUrl          = "https://json.schedulesdirect.org/20141201";
 }