Table of Contents

Class KeywordLookupItem

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

A keyword found by the keyword lookup (Realm KeywordLookup).

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

Constructors

KeywordLookupItem(long, string, bool)

A keyword found by the keyword lookup (Realm KeywordLookup).

public KeywordLookupItem(long Id, string Name, bool IsUrgent)

Parameters

Id long

The ID of the keyword.

Name string

The name of the keyword.

IsUrgent bool

Whether the keyword is urgent (emergency).

Properties

Id

The ID of the keyword.

public long Id { get; init; }

Property Value

long

IsUrgent

Whether the keyword is urgent (emergency).

public bool IsUrgent { get; init; }

Property Value

bool

Name

The name of the keyword.

public string Name { get; init; }

Property Value

string

Methods

Deconstruct(out long, out string, out bool)

public void Deconstruct(out long Id, out string Name, out bool IsUrgent)

Parameters

Id long
Name string
IsUrgent bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(KeywordLookupItem?)

public bool Equals(KeywordLookupItem? other)

Parameters

other KeywordLookupItem

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(KeywordLookupItem?, KeywordLookupItem?)

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

Parameters

left KeywordLookupItem
right KeywordLookupItem

Returns

bool

operator !=(KeywordLookupItem?, KeywordLookupItem?)

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

Parameters

left KeywordLookupItem
right KeywordLookupItem

Returns

bool