/// <summary> /// Any UI to be displayed after the scaffolder has been selected from the Add Scaffold dialog. /// Any validation on the input for values in the UI should be completed before returning from this method. /// </summary> /// <returns></returns> public override bool ShowUIAndValidate() { // Bring up the selection dialog and allow user to select a model type FieldWindow window = new FieldWindow(_viewModel); bool? showDialog = window.ShowDialog(); Validate(); return(showDialog ?? false); }
public void SetWindow(FieldWindow window) { this.window = window; }