Table of Contents

Class HospitalAllocationRequest

Namespace
XENBIT.ResQueServe.Core.Models
Assembly
RQS.Core.dll

The allocation of a patient to a hospital: the form and the patient of the operation desk.

public record HospitalAllocationRequest : IEquatable<HospitalAllocationRequest>
Inheritance
HospitalAllocationRequest
Implements
Inherited Members
Extension Methods

Constructors

HospitalAllocationRequest()

public HospitalAllocationRequest()

HospitalAllocationRequest(HospitalAllocationRequest)

[SetsRequiredMembers]
protected HospitalAllocationRequest(HospitalAllocationRequest original)

Parameters

original HospitalAllocationRequest

Properties

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

Form

public required HospitalAllocationForm Form { get; init; }

Property Value

HospitalAllocationForm

Patient

public HospitalAllocationPatientReference? Patient { get; init; }

Property Value

HospitalAllocationPatientReference

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(HospitalAllocationRequest?)

public virtual bool Equals(HospitalAllocationRequest? other)

Parameters

other HospitalAllocationRequest

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(HospitalAllocationRequest?, HospitalAllocationRequest?)

public static bool operator ==(HospitalAllocationRequest? left, HospitalAllocationRequest? right)

Parameters

left HospitalAllocationRequest
right HospitalAllocationRequest

Returns

bool

operator !=(HospitalAllocationRequest?, HospitalAllocationRequest?)

public static bool operator !=(HospitalAllocationRequest? left, HospitalAllocationRequest? right)

Parameters

left HospitalAllocationRequest
right HospitalAllocationRequest

Returns

bool