Interface IPinCollection
Inherited Members
Namespace: Artemis.Core
Assembly: Artemis.Core.dll
Syntax
public interface IPinCollection : IEnumerable<IPin>, IEnumerable
Properties
Direction
Gets the direction of the pin collection and all its pins
Declaration
PinDirection Direction { get; }
Property Value
| Type | Description |
|---|---|
| PinDirection |
Name
Gets the name of the pin collection
Declaration
string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
Node
Gets the node the pin collection belongs to
Declaration
INode Node { get; }
Property Value
| Type | Description |
|---|---|
| INode |
Type
Gets the type of values the pin collection and all its pins holds
Declaration
Type Type { get; }
Property Value
| Type | Description |
|---|---|
| Type |
Methods
Add(IPin)
Adds the provided pin to the collection
Declaration
void Add(IPin pin)
Parameters
| Type | Name | Description |
|---|---|---|
| IPin | pin |
CreatePin()
Creates a new pin compatible with this collection
Declaration
IPin CreatePin()
Returns
| Type | Description |
|---|---|
| IPin | The newly created pin |
Remove(IPin)
Removes the provided pin from the collection
Declaration
bool Remove(IPin pin)
Parameters
| Type | Name | Description |
|---|---|---|
| IPin | pin | The pin to remove |
Returns
| Type | Description |
|---|---|
| bool |
Reset()
Resets the pin collection, causing its pins to re-evaluate the next time its value is requested
Declaration
void Reset()
Events
PinAdded
Occurs when a pin was added to the collection
Declaration
event EventHandler<SingleValueEventArgs<IPin>> PinAdded
Event Type
| Type | Description |
|---|---|
| EventHandler<SingleValueEventArgs<IPin>> |
PinRemoved
Occurs when a pin was removed from the collection
Declaration
event EventHandler<SingleValueEventArgs<IPin>> PinRemoved
Event Type
| Type | Description |
|---|---|
| EventHandler<SingleValueEventArgs<IPin>> |