Ejemplo n.º 1
0
        private UserRoleStateEventIdDto NewUserRoleStateEventId(string roleId)
        {
            var eId = new UserRoleStateEventIdDto();

            eId.UserId      = this.StateEventId.UserId;
            eId.RoleId      = roleId;
            eId.UserVersion = this.StateEventId.Version;
            return(eId);
        }
Ejemplo n.º 2
0
        public override bool Equals(object obj)
        {
            if (Object.ReferenceEquals(this, obj))
            {
                return(true);
            }

            UserRoleStateEventIdDto other = obj as UserRoleStateEventIdDto;

            if (other == null)
            {
                return(false);
            }

            return(_value.Equals(other._value));
        }
Ejemplo n.º 3
0
 protected UserRoleStateEventDtoBase(UserRoleStateEventIdDto stateEventId)
 {
     this.StateEventId = stateEventId;
 }