public AddSettingValueViewModel(VirtoCommerce.ManagementClient.AppConfig.Infrastructure.Enumerations.ValueType valueType, OperationType operationType)
        {
            _valueType = valueType;
            _operationType = operationType;


            switch (_valueType)
            {
                case Infrastructure.Enumerations.ValueType.Boolean:
                    IsBooleanValue = true;
                    OnPropertyChanged("IsBooleanValue");
                    break;

                case Infrastructure.Enumerations.ValueType.DataTime:
                    IsDateTimeValue = true;
                    OnPropertyChanged("IsDateTimeValue");
                    break;

                case Infrastructure.Enumerations.ValueType.Decimal:
                    IsDecimalValue = true;
                    OnPropertyChanged("IsDecimalValue");
                    break;

                case Infrastructure.Enumerations.ValueType.Integer:
                    IsIntegerValue = true;
                    OnPropertyChanged("IsIntegerValue");
                    break;

                case Infrastructure.Enumerations.ValueType.LongText:
                    IsLongStringValue = true;
                    OnPropertyChanged("IsLongStringValue");
                    break;

                case Infrastructure.Enumerations.ValueType.ShortText:
                    IsShortStringValue = true;
                    OnPropertyChanged("IsShortStringValue");
                    break;
            }

        }
        public AddSettingValueViewModel(VirtoCommerce.ManagementClient.AppConfig.Infrastructure.Enumerations.ValueType valueType, OperationType operationType)
        {
            _valueType     = valueType;
            _operationType = operationType;


            switch (_valueType)
            {
            case Infrastructure.Enumerations.ValueType.Boolean:
                IsBooleanValue = true;
                OnPropertyChanged("IsBooleanValue");
                break;

            case Infrastructure.Enumerations.ValueType.DataTime:
                IsDateTimeValue = true;
                OnPropertyChanged("IsDateTimeValue");
                break;

            case Infrastructure.Enumerations.ValueType.Decimal:
                IsDecimalValue = true;
                OnPropertyChanged("IsDecimalValue");
                break;

            case Infrastructure.Enumerations.ValueType.Integer:
                IsIntegerValue = true;
                OnPropertyChanged("IsIntegerValue");
                break;

            case Infrastructure.Enumerations.ValueType.LongText:
                IsLongStringValue = true;
                OnPropertyChanged("IsLongStringValue");
                break;

            case Infrastructure.Enumerations.ValueType.ShortText:
                IsShortStringValue = true;
                OnPropertyChanged("IsShortStringValue");
                break;
            }
        }