Table of Contents

Struct ProxyInputs

Namespace
StreamJsonRpc.Reflection
Assembly
StreamJsonRpc.dll

Contains inputs required for proxy generation.

public readonly struct ProxyInputs
Inherited Members

Remarks

This struct serves as a forward compatible way to initialize source generated proxies from source generated code. Members may be added to it over time such that previously source generated proxies not only continue to work but propagate the new values to StreamJsonRpc.Reflection.ProxyBase automatically.

Properties

AdditionalContractInterfaces

Gets a list of additional interfaces that the client proxy should implement without the name transformation or event limitations involved with StreamJsonRpc.Reflection.ProxyInputs.ImplementedOptionalInterfaces. This set should have an empty intersection with StreamJsonRpc.Reflection.ProxyInputs.ImplementedOptionalInterfaces.

public ReadOnlyMemory<Type> AdditionalContractInterfaces { get; init; }

Property Value

ReadOnlyMemory<Type>

ContractInterface

Gets the primary/main interface that describes the functions available on the remote end.

public required Type ContractInterface { get; init; }

Property Value

Type

Options

Gets the set of customizations for how the client proxy is wired up. If null, default options will be used.

public JsonRpcProxyOptions? Options { get; init; }

Property Value

JsonRpcProxyOptions