protected string OpenContentDialog(string content) { InputDataViewModel inputDataViewModel = new InputDataViewModel(content); inputDataViewModel.ShowViewDialog(); string input = CreateInput(inputDataViewModel.Inputs.ToList()); return(input); }
protected string OpenContentDialog(string content) { InputDataViewModel inputDataViewModel = new InputDataViewModel(content); inputDataViewModel.ShowViewDialog(); string input = inputDataViewModel.TextBoxInput; if (string.IsNullOrEmpty(input)) { return(content); } return(input); }