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
encoderSliceEncoderThe Slice encoder.
valueTProxyThe proxy to encode.
Type Parameters
TProxyThe 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.