Exemple #1
0
        public static void Expire(Tell tell)
        {
            if (!Tells.Contains(tell))
            {
                return;
            }

            Tells.First(t => t == tell).Expired = true;
        }
Exemple #2
0
        public static void Tell(string from, string to, string message)
        {
            var tell = new Tell()
            {
                From = from, To = to, Message = message, Time = DateTime.UtcNow
            };

            Tells.Add(tell);
            Save();
        }