Table of Contents

Interface IBaseAddressResolver

Namespace
Arbiter.CommandQuery.Definitions
Assembly
Arbiter.CommandQuery.dll

Provides a mechanism to resolve the base address for service endpoints or API calls.

public interface IBaseAddressResolver

Methods

GetBaseAddress(string?)

Gets the base address as a string, or null if it cannot be resolved.

string? GetBaseAddress(string? configurationKey = "BaseAddress")

Parameters

configurationKey string

The configuration key used to look up the base address. Defaults to "BaseAddress".

Returns

string

The base address string if available; otherwise, null.