Table of Contents

Class ServerAddressComparer

Namespace
IceRpc
Assembly
IceRpc.dll

Equality comparer for ServerAddress.

public abstract class ServerAddressComparer : EqualityComparer<ServerAddress>, IEqualityComparer<ServerAddress>, IEqualityComparer
Inheritance
ServerAddressComparer
Implements
Inherited Members

Properties

OptionalTransport

Gets a server address comparer that compares all server address properties, except a transport mismatch where the transport of one of the server addresses is null results in equality.

public static ServerAddressComparer OptionalTransport { get; }

Property Value

ServerAddressComparer

A ServerAddressComparer instance that compares server address properties with the exception of the Transport properties which are only compared if non-null.