public IConsoleFormatter CreateConsoleFormatter(ConsoleFormatterType type, IConsoleWritter writter) { if (type == ConsoleFormatterType.Documentation) { return new DocumentionConsoleFormatter(writter); } if (type == ConsoleFormatterType.Progress) { return new ProgressConsoleFormatter(writter); } if (type == ConsoleFormatterType.Silent) { return new SilentConsoleFormatter(writter); } return new ProgressConsoleFormatter(writter); }
public IConsoleFormatter CreateConsoleFormatter(ConsoleFormatterType type, IConsoleWritter writter) { if (type == ConsoleFormatterType.Documentation) { return(new DocumentionConsoleFormatter(writter)); } if (type == ConsoleFormatterType.Progress) { return(new ProgressConsoleFormatter(writter)); } if (type == ConsoleFormatterType.Silent) { return(new SilentConsoleFormatter(writter)); } return(new ProgressConsoleFormatter(writter)); }
public DocumentionConsoleFormatter(IConsoleWritter writter) : base(writter) { this.writter = writter; }
public ProgressConsoleFormatter(IConsoleWritter writter) : base(writter) { this.writter = writter; }
protected ConsoleFormatterBase(IConsoleWritter writter) { this.writter = writter; }
public SilentConsoleFormatter(IConsoleWritter writter) : base(writter) { }