private void FireParamChanged(ParamChangedEventArgs e) { if (ParamChanged != null) { ParamChanged(this, e); } }
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); }