Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
DynamicOptionsAttribute.cs
1
using
System;
2
3
namespace
Waher.Things.Attributes
4
{
8
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple =
true
, Inherited =
true
)]
9
public
class
DynamicOptionsAttribute
: Attribute
10
{
11
private
readonly
string
methodName;
12
17
public
DynamicOptionsAttribute
(
string
MethodName
)
18
{
19
this.methodName =
MethodName
;
20
}
21
25
public
string
MethodName
=> this.methodName;
26
}
27
}
Waher.Things.Attributes.DynamicOptionsAttribute
Defines a method that returns an array of options to display when editing the parameter.
Definition:
DynamicOptionsAttribute.cs:10
Waher.Things.Attributes.DynamicOptionsAttribute.DynamicOptionsAttribute
DynamicOptionsAttribute(string MethodName)
Defines a method that returns an array of options to display when editing the parameter.
Definition:
DynamicOptionsAttribute.cs:17
Waher.Things.Attributes.DynamicOptionsAttribute.MethodName
string MethodName
Name of method on object that can be used to retrieve a dynamic set of options.
Definition:
DynamicOptionsAttribute.cs:25
Waher.Things.Attributes
Definition:
AlphaChannelAttribute.cs:4
IoTGateway
Things
Waher.Things
Attributes
DynamicOptionsAttribute.cs
Generated by
1.9.5