Class JsonRpcParameterAttribute
- Namespace
- StreamJsonRpc
- Assembly
- StreamJsonRpc.dll
Attribute which changes the name by which this parameter is identified in JSON-RPC named arguments.
[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false)]
public sealed class JsonRpcParameterAttribute : Attribute
- Inheritance
-
JsonRpcParameterAttribute
- Inherited Members
Constructors
JsonRpcParameterAttribute(string)
Initializes a new instance of the JsonRpcParameterAttribute class.
public JsonRpcParameterAttribute(string name)
Parameters
namestringReplacement name of a parameter.
Properties
Name
Gets the RPC name by which this parameter will be identified in named arguments.
public string Name { get; }