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

GetNewRandomNotification() private method

private GetNewRandomNotification ( ) : INotification
return INotification
        private INotification GetNewRandomNotification()
        {
            var names = new string[] {"John", "Mary", "Paul", "Eric", "Rob"};
            var types = new string[] {"Email", "Text", "Voice", "Calendar"};
            var type = types[Util.Random.Next(0, names.Length - 1)];
            return new Notification()
                {
                    Text = "New " + type + " from " + names[Util.Random.Next(0, names.Length - 1)],
                    TimeStamp = Settings.SettingsProvider.Current.Now,
                    Type = type
                };
        }