Class RpcTargetMetadata.TargetMethodMetadata
- Namespace
- StreamJsonRpc
- Assembly
- StreamJsonRpc.dll
Represents metadata about an RPC target method.
public class RpcTargetMetadata.TargetMethodMetadata
- Inheritance
-
RpcTargetMetadata.TargetMethodMetadata
- Inherited Members
Remarks
This class is typically used to encapsulate information about a method that can be invoked via JSON-RPC. It provides access to the method's reflection data and any custom attributes relevant to JSON-RPC dispatch.
Instances of this class are generally constructed internally and are not intended to be created directly by consumers.
Properties
Attribute
Gets the JsonRpcMethodAttribute that applies to this method, if any.
public JsonRpcMethodAttribute? Attribute { get; }
Property Value
MethodInfo
Gets the MethodInfo for the RPC target method.
public MethodInfo MethodInfo { get; }
Property Value
MethodShapeAttribute
Gets the MethodShapeAttribute that applies to this method, if any.
public MethodShapeAttribute? MethodShapeAttribute { get; }
Property Value
Name
Gets the RPC target name that should invoke this method.
public string Name { get; }
Property Value
Methods
ToString()
public override string ToString()