예제 #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;
 }