示例#1
0
        private UserClaimStateEventIdDto NewUserClaimStateEventId(int claimId)
        {
            var eId = new UserClaimStateEventIdDto();

            eId.UserId      = this.StateEventId.UserId;
            eId.ClaimId     = claimId;
            eId.UserVersion = this.StateEventId.Version;
            return(eId);
        }
示例#2
0
        public override bool Equals(object obj)
        {
            if (Object.ReferenceEquals(this, obj))
            {
                return(true);
            }

            UserClaimStateEventIdDto other = obj as UserClaimStateEventIdDto;

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

            return(_value.Equals(other._value));
        }
示例#3
0
 protected UserClaimStateEventDtoBase(UserClaimStateEventIdDto stateEventId)
 {
     this.StateEventId = stateEventId;
 }