private static void gacPrint(IOutputDeviceMultiline terminal) { var result = new List <string>(); foreach (var file in GacUtil.Instance.GacFiles.Values) { result.Add($"{file.Name}\t{file.DirectoryName}"); } terminal.Write(result); }
protected BackgroundOutputDeviceMultiline(IOutputDevice outputDevice, Func <string, string> process) : base(outputDevice, process) { _multLineOutput = outputDevice as IOutputDeviceMultiline; }
public static void ExecuteCommandLine(IOutputDeviceMultiline output) { var result = ExecuteCommandLine(); output?.Write(result); }