Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
JsonRpcDocumentationAttribute.cs
1using System;
2
4{
10 [AttributeUsage(AttributeTargets.Method | AttributeTargets.Field |
11 AttributeTargets.Event | AttributeTargets.Parameter | AttributeTargets.Property |
12 AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = true)]
13 public class JsonRpcDocumentationAttribute : Attribute
14 {
22 : this(Documentation, false)
23 {
24 }
25
34 {
35 this.Documentation = Documentation;
36 this.IsMarkdown = IsMarkdown;
37 }
38
42 public string Documentation { get; }
43
47 public bool IsMarkdown { get; }
48 }
49}
Adds documentation to a JSON-RPC method, parameter, property, field, event or return value....
JsonRpcDocumentationAttribute(string Documentation)
Adds documentation to a JSON-RPC method, parameter, property, field, event or return value....
JsonRpcDocumentationAttribute(string Documentation, bool IsMarkdown)
Adds documentation to a JSON-RPC method, parameter, property, field, event or return value....