public object Execute() { string result = string.Join(",", Commands.Select(_ => _.Execute())); OutputSingleton.WriteToTextOutputters(result); return(result); }
public object Execute() { try { object result = Execution.Invoke(Selector, Regex); OutputSingleton.WriteToTextOutputters(result); return(result); } catch (Exception e) { ErrorHandler.ReportCommandExecutionFailed(e, Name); return(null); } }