Table of Contents

Class RpcRequestSurrogateConverter

Namespace
Microsoft.AutoGen.RuntimeGateway.Grpc.Orleans.Surrogates
Assembly
Microsoft.AutoGen.RuntimeGateway.Grpc.dll
[RegisterConverter]
public sealed class RpcRequestSurrogateConverter : IConverter<RpcRequest, RpcRequestSurrogate>
Inheritance
RpcRequestSurrogateConverter
Implements
Inherited Members

Methods

ConvertFromSurrogate(in RpcRequestSurrogate)

Converts a surrogate value to the value type.

public RpcRequest ConvertFromSurrogate(in RpcRequestSurrogate surrogate)

Parameters

surrogate RpcRequestSurrogate

The surrogate.

Returns

RpcRequest

The value.

ConvertToSurrogate(in RpcRequest)

Converts a value to the value type.

public RpcRequestSurrogate ConvertToSurrogate(in RpcRequest value)

Parameters

value RpcRequest

The value.

Returns

RpcRequestSurrogate

The surrogate.