コード例 #1
0
        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();
        }
コード例 #2
0
 public Delegate[] GetSolutionBindingUpdatedInvocationList()
 {
     return(SolutionBindingUpdated?.GetInvocationList());
 }
コード例 #3
0
 public void SimulateSolutionBindingUpdated()
 {
     SolutionBindingUpdated?.Invoke(this, EventArgs.Empty);
 }