protected virtual void OnConfigurationValueChanged(object value) { ConfigurationPropertyChanged handler = (ConfigurationPropertyChanged)base.Events[EventConfigurationValueChanged]; if (handler != null) { handler(this, value); } }
protected virtual void OnConfigurationValueChanged(object value) { ConfigurationPropertyChanged configurationPropertyChanged = (ConfigurationPropertyChanged)Events[_eventKey]; if (configurationPropertyChanged == null) { return; } configurationPropertyChanged(this, value); }