Class UnitPortCollection<TPort>
Inheritance
Collection<TPort>
KeyedCollection<String, TPort>
KeyedCollection<String, TPort>
UnitPortCollection<TPort>
Inherited Members
Namespace: Ludiq.Bolt
Syntax
public sealed class UnitPortCollection<TPort> : ParentCollection<IUnit, string, TPort>, IList<TPort>, IList, IReadOnlyList<TPort>, IReadOnlyCollection<TPort>, IKeyedCollection<string, TPort>, ICollection, INotifyCollectionChangedPausable, INotifyCollectionChanged, INotifyCollectionItemPropertyChanged, IBulkCollection<TPort>, ICollection<TPort>, IEnumerable<TPort>, IEnumerable where TPort : IUnitPort
Type Parameters
Name | Description |
---|---|
TPort |
Constructors
UnitPortCollection(IUnit)
Declaration
public UnitPortCollection(IUnit unit)
Parameters
Type | Name | Description |
---|---|---|
IUnit | unit |
Methods
GetKeyForItem(TPort)
Declaration
protected override string GetKeyForItem(TPort port)
Parameters
Type | Name | Description |
---|---|---|
TPort | port |
Returns
Type | Description |
---|---|
String |
Overrides
System.Collections.ObjectModel.KeyedCollection<System.String, TPort>.GetKeyForItem(TPort)