コード例 #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);
        }
コード例 #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 true 
				&& Object.Equals (this.UserId, other.UserId)
				&& Object.Equals (this.RoleId, other.RoleId)
				&& Object.Equals (this.UserVersion, other.UserVersion)
				;
		}
コード例 #3
0
 public UserRoleStateEventIdFlattenedDto(UserRoleStateEventId val)
 {
     this._value = new UserRoleStateEventIdDtoWrapper(val);
 }
コード例 #4
0
 public UserRoleStateEventIdFlattenedDto(UserRoleStateEventIdDto val)
 {
     this._value = val;
 }
コード例 #5
0
 protected UserRoleStateEventDtoBase(UserRoleStateEventIdDto stateEventId)
 {
     this.StateEventId = stateEventId;
 }