private UserLoginStateEventIdDto NewUserLoginStateEventId(LoginKey loginKey) { var eId = new UserLoginStateEventIdDto(); eId.UserId = this.StateEventId.UserId; eId.LoginKey = new LoginKeyDto(loginKey); eId.UserVersion = this.StateEventId.Version; return(eId); }
public override bool Equals(object obj) { if (Object.ReferenceEquals(this, obj)) { return(true); } UserLoginStateEventIdDto other = obj as UserLoginStateEventIdDto; if (other == null) { return(false); } return(_value.Equals(other._value)); }
protected UserLoginStateEventDtoBase(UserLoginStateEventIdDto stateEventId) { this.StateEventId = stateEventId; }