Exemplo n.º 1
0
        public TwitterController()
        {
            Service = new AggregationService();
            Accounts = new List<string> {"@pay_by_phone", "@PayByPhone", "@PayByPhone_UK"};

            var days = ConfigurationManager.AppSettings["AggregationPeriodInDays"];
            Period = new TimeSpan(int.Parse(days),0,0,0);
        }
 public void Init()
 {
     _service = new AggregationService();
     _accounts = new List<string> {"@pay_by_phone","@PayByPhone","@PayByPhone_UK"};
     _timeSpan = new TimeSpan(14,0,0,0);
 }