Click or drag to resize

DiagramSocketTypeRegisterTypeT Method

To register the connection type.

Namespace:  StockSharp.Xaml.Diagram
Assembly:  StockSharp.Xaml.Diagram (in StockSharp.Xaml.Diagram.dll) Version: 4.4.17.0 (4.4.17)
Syntax
C#
public static DiagramSocketType RegisterType<T>(
	string name,
	Color color
)

Parameters

name
Type: SystemString
The name of the connection type.
color
Type: System.Windows.MediaColor
The connection color.

Type Parameters

T
Data type.

Return Value

Type: DiagramSocketType
Connection type.
See Also