Class TypedDiagramElement<T>.SocketTypesSource
- Namespace
- StockSharp.Diagram.Elements
- Assembly
- StockSharp.Diagram.Core.dll
protected sealed class TypedDiagramElement<T>.SocketTypesSource : ItemsSourceBase<DiagramSocketType>, IItemsSource<DiagramSocketType>, IItemsSource
- Inheritance
-
TypedDiagramElement<T>.SocketTypesSource
- Implements
- Inherited Members
- Extension Methods
Constructors
SocketTypesSource()
public SocketTypesSource()
Methods
GetName(DiagramSocketType)
Retrieves the display name for the specified value.
protected override string GetName(DiagramSocketType st)
Parameters
Returns
- string
The display name.
GetValues()
Retrieves the underlying collection of values.
protected override IEnumerable<DiagramSocketType> GetValues()
Returns
- IEnumerable<DiagramSocketType>
The collection of values.
SetValues(IEnumerable<DiagramSocketType>)
public static void SetValues(IEnumerable<DiagramSocketType> sockets)
Parameters
sockets
IEnumerable<DiagramSocketType>