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

            if (handler != null)
            {
                handler(this, args);
            }
        }
Esempio n. 4
0
        public void RefreshDisplayNames(UserDisplayNameChangedArgs args)
        {
            var userPanel = GetUserPanel(args.RawUserName);

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