Table of Contents

Class Area

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

Constructors

Area()

public Area()

Area(Area)

[SetsRequiredMembers]
protected Area(Area original)

Parameters

original Area

Properties

DispatchGroups

A list of group identifiers used for suggesting appropriate response units for incidents within this area. The groups listed here should match those specified in Unit.DispatchGroups and Keyword.DispatchGroups to ensure correct unit dispatch.

public string? DispatchGroups { get; set; }

Property Value

string

District

The district this area is responsible for. This is used to map addresses to specific dispatch areas.

public required IAddressDistrict District { get; set; }

Property Value

IAddressDistrict

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

Id

public long Id { get; set; }

Property Value

long

Increase

Indicates how many more or fewer emergencies should be generated for this area compared to other areas. Adjusting this value can help balance the workload across different districts. (1 default / normal, e.g. 50 much more emergencies in this area).

public int Increase { get; set; }

Property Value

int

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(Area?)

public virtual bool Equals(Area? other)

Parameters

other Area

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 ==(Area?, Area?)

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

Parameters

left Area
right Area

Returns

bool

operator !=(Area?, Area?)

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

Parameters

left Area
right Area

Returns

bool