Ejemplo n.º 1
0
 private static void Notify(PullRequestNotification notification)
 {
     foreach (var notifier in _notifiers)
     {
         notifier.Notify(notification);
     }
 }
Ejemplo n.º 2
0
        public Task Notify(PullRequestNotification notification)
        {
            ConsoleColor color = Console.ForegroundColor;

            Console.ForegroundColor = ConsoleColor.Cyan;
            Console.Write($"[{DateTime.Now:T}] ");
            Console.ForegroundColor = color;
            Console.WriteLine(notification);
            return(Task.CompletedTask);
        }
        public Task Notify(PullRequestNotification notification)
        {
            Synthesizer.Speak(notification.ToString());

            return(Task.CompletedTask);
        }
 public Task Notify(PullRequestNotification notification)
 {
     Debug.WriteLine(notification.ToString());
     return(Task.CompletedTask);
 }