예제 #1
0
        public void UpdateDisplayName(UserId userId, string displayName)
        {
            var user = _state.GetUser(userId);

            if (user.DisplayName == displayName)
            {
                return;
            }

            Apply(new SecurityItemDisplayNameUpdated(_state.Id, userId, displayName));
        }