public AdvancedRecordsetDesignerViewModel(ModelItem modelItem, ISqliteServiceModel model) : base(modelItem) { _modelItem = modelItem; _propertyBuilder = new ViewPropertyBuilder(); Model = model; SetupCommonProperties(); SetupDeclareVariables(modelItem); HelpText = Warewolf.Studio.Resources.Languages.HelpText.Tool_AdvancedRecordset; }
public ManageSqliteServiceInputViewModel(ISqliteServiceViewModel model, ISqliteServiceModel serviceModel) { IsTesting = false; CloseCommand = new DelegateCommand(ExecuteClose); OkCommand = new DelegateCommand(ExecuteOk); TestCommand = new DelegateCommand(ExecuteTest); _generateOutputArea = new GenerateOutputsRegion(); _generateInputArea = new GenerateInputsRegion(); Errors = new List <string>(); _viewmodel = model; _serverModel = serviceModel; }