Table of Contents

Struct Location

Namespace
IceRpc.Locator
Assembly
IceRpc.Locator.dll

A location is either an adapter ID or a path.

public readonly record struct Location : IEquatable<Location>
Implements
Inherited Members

Properties

IsAdapterId

Gets a value indicating whether or not this location holds an adapter ID; otherwise, false.

public bool IsAdapterId { get; init; }

Property Value

bool

Value

Gets the adapter ID or path.

public required string Value { get; init; }

Property Value

string

Methods

ToString()

Returns Value.

public override string ToString()

Returns

string

The adapter ID or path.