 | JsonRpcNamingStrategyGetRpcMethodName Method |
[This is preliminary documentation and is subject to change.]
Maps a CLR method name into JSON RPC method name.
Namespace:
JsonRpc.Contracts
Assembly:
JsonRpc.Commons (in JsonRpc.Commons.dll) Version: 0.5.4+1bad715934a0ae5922832940ca44bbbdaa509cfe
Syntaxpublic virtual string GetRpcMethodName(
string methodName,
bool isSpecified
)
Public Overridable Function GetRpcMethodName (
methodName As String,
isSpecified As Boolean
) As String
Dim instance As JsonRpcNamingStrategy
Dim methodName As String
Dim isSpecified As Boolean
Dim returnValue As String
returnValue = instance.GetRpcMethodName(methodName,
isSpecified)
public:
virtual String^ GetRpcMethodName(
String^ methodName,
bool isSpecified
)
abstract GetRpcMethodName :
methodName : string *
isSpecified : bool -> string
override GetRpcMethodName :
methodName : string *
isSpecified : bool -> string
Parameters
- methodName
- Type: SystemString
The CLR method name, or user-specified method name (e.g. via Attributes). - isSpecified
- Type: SystemBoolean
Whether the methodName is specified explicitly by user.
Return Value
Type:
StringThe mapped JSON RPC method name.
See Also