示例#1
0
 protected override void Print(string template, GitHubAction action) =>
 _streamer.PushLine <NoColorActionPrinter>(new StreamOptions
 {
     Level    = LogLevel.Information,
     Messages = new StreamMessageBuilder()
                .Add(string.Format(template, action.Repository, action.CurrentVersion, ArrowChar, action.LatestVersion))
                .Build()
 });
示例#2
0
 protected abstract void Print(string template, Action action);