Beispiel #1
0
 private void FireParamChanged(ParamChangedEventArgs e)
 {
     if (ParamChanged != null)
     {
         ParamChanged(this, e);
     }
 }
Beispiel #2
0
        public void UpdateParameter(string key, object value)
        {
            if (value is bool)
            {
                if (((bool)value))
                {
                    _dbParamList[key] = "1";
                }
                else
                {
                    _dbParamList[key] = "0";
                }
            }

            else
            {
                _dbParamList[key] = value;
            }
            var args = new ParamChangedEventArgs(key, value);

            FireParamChanged(args);
        }
Beispiel #3
0
 private void FireParamChanged(ParamChangedEventArgs e)
 {
     if (ParamChanged != null)
     {
         ParamChanged(this, e);
     }
 }
Beispiel #4
0
        public void UpdateParameter(string key, object value)
        {
            if (value is bool)
            {
                if (((bool)value))
                {
                    _dbParamList[key] = "1";
                }
                else
                {
                    _dbParamList[key] = "0";
                }
            }

            else
            {
                _dbParamList[key] = value;
            }
            var args = new ParamChangedEventArgs(key, value);
            FireParamChanged(args);
        }