Enum JsonRpcProxyOptions.ProxyImplementation
- Namespace
- StreamJsonRpc
- Assembly
- StreamJsonRpc.dll
Describes the source generated proxy that is acceptable to the client.
public enum JsonRpcProxyOptions.ProxyImplementation
Fields
AlwaysDynamic = 0
Always use a dynamically generated proxy.
AlwaysSourceGenerated = 2
Throw an exception if no source generated proxy is available.
PreferSourceGenerated = 1
Use a source generated proxy if available, otherwise fall back to a dynamically generated proxy. An exception will not be thrown if no source generated proxy is available and the runtime does not support dynamic code generation.