Пример #1
0
 public void RefreshDisplayNames(UserDisplayNameChangedArgs args)
 {
     GetNewsItemControls()
     .Where(i => i.RawName == args.RawUserName)
     .ToList()
     .ForEach(i => i.DisplayName = args.NewDisplayName);
 }
Пример #2
0
 private void UsersListOnOnUserDisplayNameChanged(object sender, UserDisplayNameChangedArgs args)
 {
     _lastRefreshStatusEventArgs.RefreshDisplayNames(_settings);
     _viewBuilds.RefreshBuildStatuses(_lastRefreshStatusEventArgs);
     _newsFeed1.RefreshDisplayNames(args);
     _userList.RefreshDisplayNames(args);
 }
Пример #3
0
        private void InvokeOnUserDisplayNameChanged(UserDisplayNameChangedArgs args)
        {
            UserDisplayNameChanged handler = OnUserDisplayNameChanged;

            if (handler != null)
            {
                handler(this, args);
            }
        }
Пример #4
0
        public void RefreshDisplayNames(UserDisplayNameChangedArgs args)
        {
            var userPanel = GetUserPanel(args.RawUserName);

            if (userPanel == null)
            {
                return;
            }
            userPanel.DisplayName = args.NewDisplayName;
        }
Пример #5
0
 public void RefreshDisplayNames(UserDisplayNameChangedArgs args)
 {
     var userPanel = GetUserPanel(args.RawUserName);
     if (userPanel == null) return;
     userPanel.DisplayName = args.NewDisplayName;
 }
Пример #6
0
 public void RefreshDisplayNames(UserDisplayNameChangedArgs args)
 {
     GetNewsItemControls()
         .Where(i => i.RawName == args.RawUserName)
         .ToList()
         .ForEach(i => i.DisplayName = args.NewDisplayName);
 }
Пример #7
0
 private void UsersListOnOnUserDisplayNameChanged(object sender, UserDisplayNameChangedArgs args)
 {
     _lastRefreshStatusEventArgs.RefreshDisplayNames(_settings);
     _viewBuilds.RefreshBuildStatuses(_lastRefreshStatusEventArgs);
     _newsFeed1.RefreshDisplayNames(args);
     _userList.RefreshDisplayNames(args);
 }
Пример #8
0
 private void InvokeOnUserDisplayNameChanged(UserDisplayNameChangedArgs args)
 {
     UserDisplayNameChanged handler = OnUserDisplayNameChanged;
     if (handler != null) handler(this, args);
 }