Class InputPinCollection
Represents a collection of input pins
Inherited Members
Namespace: Artemis.Core
Assembly: Artemis.Core.dll
Syntax
public sealed class InputPinCollection : PinCollection, IPinCollection, IEnumerable<IPin>, IEnumerable
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
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 Values { get; }
Property Value
Type | Description |
---|---|
IEnumerable |
Methods
ChangeType(Type)
Changes the type of this pin, disconnecting any pins that are incompatible with the new type.
Declaration
public void ChangeType(Type type)
Parameters
Type | Name | Description |
---|---|---|
Type | type | The new type of the pin. |
CreatePin()
Creates a new pin compatible with this collection
Declaration
public override IPin CreatePin()
Returns
Type | Description |
---|---|
IPin | The newly created pin |