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