Table of Contents

Class ResourceLookupDto

Namespace
XENBIT.ResQueServe.Core.Models
Assembly
RQS.Core.dll
public record ResourceLookupDto : LookupDto, IEquatable<LookupDto>, IEquatable<ResourceLookupDto>
Inheritance
ResourceLookupDto
Implements
Inherited Members
Extension Methods

Constructors

ResourceLookupDto()

public ResourceLookupDto()

ResourceLookupDto(IUnitResource)

public ResourceLookupDto(IUnitResource resource)

Parameters

resource IUnitResource

ResourceLookupDto(ResourceLookupDto)

protected ResourceLookupDto(ResourceLookupDto original)

Parameters

original ResourceLookupDto

Properties

Callsign

public string? Callsign { get; set; }

Property Value

string

CallsignShort

public string? CallsignShort { get; set; }

Property Value

string

Category

public string? Category { get; set; }

Property Value

string

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

MatchedCallsign

The callsign the search matched best (callsign, short, GPS or verbal); null without search.

public string? MatchedCallsign { get; set; }

Property Value

string

Station

public string? Station { get; set; }

Property Value

string

UnitId

public long? UnitId { get; set; }

Property Value

long?

UnitStatus

public UnitStatus? UnitStatus { get; set; }

Property Value

UnitStatus?

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(LookupDto?)

public override sealed bool Equals(LookupDto? other)

Parameters

other LookupDto

Returns

bool

Equals(ResourceLookupDto?)

public virtual bool Equals(ResourceLookupDto? other)

Parameters

other ResourceLookupDto

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(ResourceLookupDto?, ResourceLookupDto?)

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

Parameters

left ResourceLookupDto
right ResourceLookupDto

Returns

bool

operator !=(ResourceLookupDto?, ResourceLookupDto?)

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

Parameters

left ResourceLookupDto
right ResourceLookupDto

Returns

bool