Table of Contents

Class RadioGroup

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

Constructors

RadioGroup()

public RadioGroup()

RadioGroup(RadioGroup)

[SetsRequiredMembers]
protected RadioGroup(RadioGroup original)

Parameters

original RadioGroup

Properties

DispatchCallsign

The callsign of the dispatch center associated with the radio group. Units will use this callsign to talk to the dispatch center.

public string? DispatchCallsign { get; set; }

Property Value

string

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

Id

public long Id { get; set; }

Property Value

long

IsExternalCallGroup

Indicates whether the radio group is the "first call" radio group for external units. Only one is allowed per dispatch center.

public bool IsExternalCallGroup { get; set; }

Property Value

bool

Name

The name of the radio group.

public required string Name { get; set; }

Property Value

string

Methods

CreateInfoInstance()

Creates a lightweight info representation of this radio group.

public IRadioGroupInfo CreateInfoInstance()

Returns

IRadioGroupInfo

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(RadioGroup?)

public virtual bool Equals(RadioGroup? other)

Parameters

other RadioGroup

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

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

Parameters

left RadioGroup
right RadioGroup

Returns

bool

operator !=(RadioGroup?, RadioGroup?)

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

Parameters

left RadioGroup
right RadioGroup

Returns

bool