public object Execute()
        {
            string result = string.Join(",", Commands.Select(_ => _.Execute()));

            OutputSingleton.WriteToTextOutputters(result);
            return(result);
        }
예제 #2
0
 public object Execute()
 {
     try
     {
         object result = Execution.Invoke(Selector, Regex);
         OutputSingleton.WriteToTextOutputters(result);
         return(result);
     }
     catch (Exception e)
     {
         ErrorHandler.ReportCommandExecutionFailed(e, Name);
         return(null);
     }
 }