public void Handle(CountersChanged message)
 {
     this.NotifyPropertyChanged <CommunityInvitations>((Expression <Func <CommunityInvitations> >)(() => this.InvitationsViewModel));
     this.NotifyPropertyChanged <Visibility>((() => this.InvitationsBlockVisibility));
     this.NotifyPropertyChanged <SolidColorBrush>((Expression <Func <SolidColorBrush> >)(() => this.AllListBackground));
     this.NotifyPropertyChanged <SolidColorBrush>((Expression <Func <SolidColorBrush> >)(() => this.ManageListBackground));
     this.NotifyPropertyChanged <Visibility>((() => this.EventsCountVisibility));
 }
Beispiel #2
0
        private void OnCommandNotification(KeyValuePair <string, object> notification)
        {
            switch (notification.Key)
            {
            case "Created":
                Counters = Counters.IncrementCreatedCommands();
                break;

            case "Disposed":
                Counters = Counters.IncrementDisposedCommands();
                break;

            case "Destroyed":
                Counters = Counters.IncrementDestroyedCommands();
                break;
            }

            CountersChanged?.Invoke(this, EventArgs.Empty);
        }
 private void OnCountersChanged()
 {
     CountersChanged?.Invoke(this, new EventArgs());
 }
 public void Handle(CountersChanged message)
 {
     this.UpdateCounters();
 }