WidgetInput Class |
Namespace: IBM.Watson.DeveloperCloud.Widgets
[SerializableAttribute] public class Input
The WidgetInput type exposes the following members.
| Name | Description | |
|---|---|---|
| WidgetInput |
Constructs an input object for a Widget.
|
| Name | Description | |
|---|---|---|
| AllowMany |
If true, then more than one output may connect to this input.
| |
| Connections |
The array of outputs connected to this input.
| |
| DataReceiver |
The delegate to the receiver function, this is set when Start() is called on this input.
| |
| DataType |
The type of data this input accepts.
| |
| DataTypeName |
The name of the data type.
| |
| FullInputName |
The fully qualified name of this input.
| |
| InputName |
The name of this input.
| |
| OnOutputAdded |
Gets or sets the on output added callback
| |
| OnOutputRemoved |
Gets or sets the on output removed callback
| |
| Owner |
A reference to the widget that contains this input, this is initialized when the Widget starts.
| |
| OwnerName |
The name of the owning widget.
| |
| ReceiverFunction |
The name of the receiver function.
|
| Name | Description | |
|---|---|---|
| AddOutput |
Add output to input.
| |
| ReceiveData |
Receives input and forwards that input onto the assigned delegate. Optionally, the user may inherit from Input and
override the ReceiveData() function.
| |
| RemoveOutput |
Remove the output.
| |
| Start |
Start this Input.
|