Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
ProtectedMethodArgumentInfo.cs
2using System.Reflection;
3
5{
10 {
22 bool IsIdArgument)
23 {
24 this.Parameter = Parameter;
25 this.IsSpecialArgument = IsSpecialArgument;
26 this.HasDefaultValue = HasDefaultValue;
27 this.DefaultValue = DefaultValue;
28 this.IsMetaDataArgument = IsMetaDataArgument;
29 this.IsIdArgument = IsIdArgument;
30 this.Documentation = ProtectedMethod.GetDocumentation(Parameter);
31 }
32
36 public ParameterInfo Parameter { get; }
37
41 public bool HasDefaultValue { get; }
42
46 public object? DefaultValue { get; }
47
51 public bool IsSpecialArgument { get; }
52
56 public bool IsMetaDataArgument { get; }
57
61 public bool IsIdArgument { get; }
62
68 public KeyValuePair<bool, string>[] Documentation { get; }
69
75 public KeyValuePair<bool, string>[]? AdditionalDocumentation { get; set; }
76 }
77}
Information about an argument in a protected method.
ProtectedMethodArgumentInfo(ParameterInfo Parameter, bool IsSpecialArgument, bool HasDefaultValue, object? DefaultValue, bool IsMetaDataArgument, bool IsIdArgument)
Information about an argument in a protected method.
KeyValuePair< bool, string >?[] AdditionalDocumentation
Additional documentation for the method argument. Value represents documentation text,...
bool IsIdArgument
If the argument represents an ID argument.
bool IsSpecialArgument
If the argument represents a special argument.
KeyValuePair< bool, string >[] Documentation
Available documentation for the method argument. Value represents documentation text,...
bool IsMetaDataArgument
If the argument represents a meta-data argument.
object? DefaultValue
Default value of argument, if defined.
Information about a protected method.
static KeyValuePair< bool, string >[] GetDocumentation(ICustomAttributeProvider Object)
Gets available documentation for a member. Value represents documentation text, and Key represents if...