AGENT.Contrib.Notifications.SimpleNotifications.RandomNotification C# (CSharp) Method

RandomNotification() private method

private RandomNotification ( ) : void
return void
        private void RandomNotification()
        {
            timer = new Timer(state =>
                {
                    var n = GetNewRandomNotification();

                    Notifications.Add(n);

                    Debug.Print("new notification:" + n.Text);
                    if (OnNotificationReceived != null) OnNotificationReceived(n);
                }, null, 5000, Util.Random.Next(1000, 10000));
        }