private void Initialise(IDayUpdateMonitor updateMonitor, InformationRadiatorItemConfiguration configuration) { _startDate = new DateTime(2014, 8, 19); _dayOfSprint = false; _daysInSprint = 10; ParseConfiguration(configuration); updateMonitor.DayChanged += updateMonitor_DayChanged; _sprintDaysLock = new object(); }
public DecorationsPresenter(IDayUpdateMonitor updateMonitor, InformationRadiatorItemConfiguration configuration) { _forceChristmas = false; _forceEaster = false; ParseConfiguration(configuration); updateMonitor.DayChanged += updateMonitor_DayChanged; _steveQuoteCounter = 0; _steveQuoteTicks = 0; _steveQuotesTimer = PresenterCommonFactory.Instance.CreateTimer(20000); _steveQuotesTimer.Tick += _steveQuotesTimer_Tick; }
public SprintDaysPresenter(General.Model.ISprintDays sprintDays, IDayUpdateMonitor updateMonitor, InformationRadiatorItemConfiguration configuration) { _sprintDays = sprintDays; Initialise(updateMonitor, configuration); }
private void CreateResources() { _dayUpdateMonitor = new DayUpdateMonitor(); }