private static void Notify(PullRequestNotification notification) { foreach (var notifier in _notifiers) { notifier.Notify(notification); } }
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); }