Class JsonRpcMethodCollection
Represents a collection of JSON-RPC methods, allowing for dynamic addition and removal of methods.
public sealed class JsonRpcMethodCollection
- Inheritance
-
JsonRpcMethodCollection
- Inherited Members
Constructors
Methods
- AddMethod(string, Delegate)
Adds a method to the collection with the specified name.
- AddMethodsFromType(Type)
Adds methods from the specified type to the collection without prefixing method names.
- AddMethodsFromType(Type, object?)
Adds methods from the specified type to the collection without prefixing method names.
- AddMethodsFromType(Type, object?, bool)
Adds methods from the specified type to the collection, optionally prefixing method names with the type name.
- AddMethodsFromType<T>(T, bool)
Adds methods from the specified type to the collection, optionally prefixing method names with the type name.
- RemoveMethod(string)
Removes a method from the collection by its name.