public ExecutorMethodMock()
 {
     MethodToExecute = new ExecutorMethod
     {
         AccessModifier = "public",
         ReturnType = typeof(int),
         Name = "ShowMe",
         ClassType = typeof(MainWindow),
         ParameterTypes = new List<Type> { typeof(int), typeof(string) }
     };
 }
 private void PrepareExecute(ExecutorMethod executorMethod)
 {
     if (executorMethod != null)
     {
         var prepareExecuteWindow = new PrepareExecuteWindow();
         prepareExecuteWindow.DataContext = new PrepareExecuteWindowViewModel(executorMethod);
         prepareExecuteWindow.Owner = Application.Current.MainWindow;
         prepareExecuteWindow.ShowDialog();
     }
 }
 public PrepareExecuteWindowViewModel(ExecutorMethod methodToExecute)
 {
     MethodToExecute = methodToExecute;
 }