internal void SetCurrentParameter(IParameter newValue) { if (newValue != _currentParameter) { var args = new CurrentParameterChangedEventArgs(_currentParameter, newValue); _currentParameter = newValue; var changed = CurrentParameterChanged; if (changed != null) { changed(this, args); } } }
private void RaiseCurrentParameterChanged(IParameter prevCurrentParameter, IParameter newCurrentParameter) { var args = new CurrentParameterChangedEventArgs(prevCurrentParameter, newCurrentParameter); CurrentParameterChanged?.Invoke(this, args); }
void Signature_CurrentParameterChanged(object sender, CurrentParameterChangedEventArgs e) => UpdateCurrentParameter();
private void OnSelectedSignature_CurrentParameterChanged(object sender, CurrentParameterChangedEventArgs e) { this.UpdateParameterInfo(); }
private void OnSelectedSignature_CurrentParameterChanged(object sender, CurrentParameterChangedEventArgs e) { this.FireClassificationChanged (new SnapshotSpan(_textBuffer.CurrentSnapshot, 0, _textBuffer.CurrentSnapshot.Length)); }