Class InputPinCollection<T>
Represents a collection of input pins containing values of type T
Inherited Members
Namespace: Artemis.Core
Assembly: Artemis.Core.dll
Syntax
public sealed class InputPinCollection<T> : PinCollection, IPinCollection, IEnumerable<IPin>, IEnumerable
Type Parameters
Name | Description |
---|---|
T | The type of value the pins in this collection hold |
Properties
Direction
Gets the direction of the pin collection and all its pins
Declaration
public override PinDirection Direction { get; }
Property Value
Type | Description |
---|---|
PinDirection |
Overrides
Pins
Gets an enumerable of the pins in this collection
Declaration
public IEnumerable<InputPin<T>> Pins { get; }
Property Value
Type | Description |
---|---|
IEnumerable<InputPin<T>> |
Type
Gets the type of values the pin collection and all its pins holds
Declaration
public override Type Type { get; }
Property Value
Type | Description |
---|---|
Type |
Overrides
Values
Gets an enumerable of the values of the pins in this collection
Declaration
public IEnumerable<T> Values { get; }
Property Value
Type | Description |
---|---|
IEnumerable<T> |
Methods
CreatePin()
Creates a new pin compatible with this collection
Declaration
public override IPin CreatePin()
Returns
Type | Description |
---|---|
IPin | The newly created pin |