Table of Contents

Class GeocodingResult

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

Constructors

GeocodingResult()

public GeocodingResult()

GeocodingResult(GeocodingResult)

[SetsRequiredMembers]
protected GeocodingResult(GeocodingResult original)

Parameters

original GeocodingResult

Properties

City

Gets the city associated with the geocoding result.

public string? City { get; init; }

Property Value

string

Commune

Gets the commune associated with the geocoding result.

public string? Commune { get; init; }

Property Value

string

Coordinates

Gets the coordinates associated with the geocoding result.

public required Coordinates Coordinates { get; init; }

Property Value

Coordinates

District

Gets the district associated with the geocoding result.

public string? District { get; init; }

Property Value

string

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

HouseNumber

Gets the house number associated with the geocoding result.

public string? HouseNumber { get; init; }

Property Value

string

LocationHashSha256

Gets the hash of the IGeoReferenced object using GetStableHash() associated with the geocoding result.

public required string LocationHashSha256 { get; init; }

Property Value

string

Provider

Gets the provider that supplied the geocoding result.

public required GeoProvider Provider { get; init; }

Property Value

GeoProvider

Street

Gets the street address associated with the geocoding result.

public string? Street { get; init; }

Property Value

string

Zip

Gets the zip code associated with the geocoding result.

public string? Zip { get; init; }

Property Value

string

Methods

CompareTo(object?)

public int CompareTo(object? obj)

Parameters

obj object

Returns

int

CompareTo(GeocodingResult?)

public int CompareTo(GeocodingResult? other)

Parameters

other GeocodingResult

Returns

int

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(GeocodingResult?)

public virtual bool Equals(GeocodingResult? other)

Parameters

other GeocodingResult

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

IsSet()

Checks if the latitude and longitude coordinates are set to non-zero values.

public bool IsSet()

Returns

bool

true if both latitude and longitude are non-zero; otherwise, false.

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(GeocodingResult?, GeocodingResult?)

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

Parameters

left GeocodingResult
right GeocodingResult

Returns

bool

operator !=(GeocodingResult?, GeocodingResult?)

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

Parameters

left GeocodingResult
right GeocodingResult

Returns

bool