Пример #1
0
        public virtual IDisposable WriteBlock(string text)
        {
            Info(FigletTransform.GetText(text));

            return(DelegateDisposable.CreateBracket(
                       () => Console.Title = $"Executing: {text}",
                       () => Console.Title = $"Finished: {text}"));
        }
Пример #2
0
 public override IDisposable WriteBlock(string text)
 {
     Info(FigletTransform.GetText(text, "ansi-shadow"));
     return(DelegateDisposable.CreateBracket());
 }