protected EditFormEntityViewModelBase(ScreenSettings <EditFormSettingsDescriptor> screenSettings, UiNotificationService uiNotificationService, IHttpService httpService, IMapper mapper)
 {
     this.UiNotificationService = uiNotificationService;
     FormSettings           = screenSettings.Settings;
     Buttons                = new ObservableCollection <CommandButtonDescriptor>(screenSettings.CommandButtons);
     fieldsCollectionHelper = new FieldsCollectionHelper(this.FormSettings, Properties, this.UiNotificationService, httpService, mapper);
     fieldsCollectionHelper.CreateFieldsCollection();
     propertyChangedSubscription = this.UiNotificationService.ValueChanged.Subscribe(FieldChanged);
 }
        public FormValidatableObject(string name, FormGroupSettingsDescriptor setting, IEnumerable <IValidationRule> validations, UiNotificationService uiNotificationService, IHttpService httpService, IMapper mapper) : base(name, setting.FormGroupTemplate.TemplateName, validations, uiNotificationService)
        {
            this.FormSettings = setting;
            this.Title        = this.FormSettings.Title;
            this.Placeholder  = this.FormSettings.ValidFormControlText;
            this.mapper       = mapper;
            FieldsCollectionHelper fieldsCollectionHelper = new FieldsCollectionHelper(setting, Properties, uiNotificationService, httpService, this.mapper);

            fieldsCollectionHelper.CreateFieldsCollection();
        }