Table of Contents

Class RpcResponseurrogateConverter

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

Methods

ConvertFromSurrogate(in RpcResponseSurrogate)

Converts a surrogate value to the value type.

public RpcResponse ConvertFromSurrogate(in RpcResponseSurrogate surrogate)

Parameters

surrogate RpcResponseSurrogate

The surrogate.

Returns

RpcResponse

The value.

ConvertToSurrogate(in RpcResponse)

Converts a value to the value type.

public RpcResponseSurrogate ConvertToSurrogate(in RpcResponse value)

Parameters

value RpcResponse

The value.

Returns

RpcResponseSurrogate

The surrogate.