Table of Contents

Class SliceProxySliceEncoderExtensions

Namespace
IceRpc.Slice.Operations
Assembly
IceRpc.Slice.dll

Provides extension methods for SliceEncoder to encode proxies.

public static class SliceProxySliceEncoderExtensions
Inheritance
SliceProxySliceEncoderExtensions
Inherited Members

Methods

EncodeProxy<TProxy>(ref SliceEncoder, TProxy)

Encodes a proxy struct.

public static void EncodeProxy<TProxy>(this ref SliceEncoder encoder, TProxy value) where TProxy : struct, ISliceProxy

Parameters

encoder SliceEncoder

The Slice encoder.

value TProxy

The proxy to encode.

Type Parameters

TProxy

The type of the proxy struct to encode.

Remarks

A proxy is encoded as its service address URI, or as the path of its service address when it's a relative proxy.