예제 #1
0
        /// <summary>
        /// Constructor
        /// </summary>
        private TimelineManager()
        {
            this._listeners = new ArrayList();

            // update timer
            this._timer          = new DispatcherTimer();
            this._timer.Interval = TimeSpan.FromSeconds(5 * 60);
            this._timer.Tick    += new EventHandler(delegate(object s, EventArgs a) {
                TimelineManager.Update();
            });
            this._timer.Start();

            ConfigurationManager.AddAuthenticationListenner(this);
            ConfigurationManager.AddUserAccountsListenner(this);
            ConfigurationManager.AddUsersListenner(this);
        }