private void RaiseAnalyzersChangedIfBindingChanged(bool?isBindingCleared = null) { var newBindingConfiguration = configurationProvider.GetConfiguration(); if (!CurrentConfiguration.Equals(newBindingConfiguration)) { CurrentConfiguration = newBindingConfiguration; SolutionBindingChanged?.Invoke(this, new ActiveSolutionBindingEventArgs(newBindingConfiguration)); } else if (isBindingCleared == false) { SolutionBindingUpdated?.Invoke(this, EventArgs.Empty); } SetBoundSolutionUIContext(); }
public Delegate[] GetSolutionBindingChangedInvocationList() { return(SolutionBindingChanged?.GetInvocationList()); }
public void SimulateSolutionBindingChanged(ActiveSolutionBindingEventArgs binding) { SolutionBindingChanged?.Invoke(this, binding); }