protected void Report(string info, OutputType type = OutputType.Information) { Execute.OnTheUI(() => { var lines = info.Split(new[] { Environment.NewLine }, StringSplitOptions.None); OutputItems.AddRange(lines.Select(l => new DatabaseTaskOutput(l, type))); OnMessageOutput(new OutputEventArgs() { Message = info, OutputType = type }); }); }