Inheritance: Dev2.Activities.Designers2.Core.FileActivityDesignerViewModel
Example #1
0
        static TestFileActivityDesignerViewModel CreateViewModel(string inputPathLabel = "Input Label", string outputPathLabel = "Output Label", string inputPath = null, string outputPath = null)
        {
            var viewModel = new TestFileActivityDesignerViewModel(ModelItemUtils.CreateModelItem(
                                                                      new DsfPathCopy
            {
                InputPath  = inputPath,
                OutputPath = outputPath
            }), inputPathLabel, outputPathLabel);

            return(viewModel);
        }
 static TestFileActivityDesignerViewModel CreateViewModel(string inputPathLabel = "Input Label", string outputPathLabel = "Output Label", string inputPath = null, string outputPath = null)
 {
     var viewModel = new TestFileActivityDesignerViewModel(ModelItemUtils.CreateModelItem(
         new DsfPathCopy
         {
             InputPath = inputPath,
             OutputPath = outputPath
         }), inputPathLabel, outputPathLabel);
     return viewModel;
 }