DiagramSocketType
StockSharp.Diagram
连接类型 。
继承自: Equatable<DiagramSocketType>
实现: INotifyPropertyChanged, IPersistable
构造函数
DiagramSocketType
private DiagramSocketType(Type type, string name, Color color)
diagramSocketType = DiagramSocketType(type, name, color)
初始化了 & ##DiagramSocketType+#的新实例.
- type
- 数据类型.
- name
- 连接类型的名称 。
- color
- 相接相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相
属性
AllTypes
public static IEnumerable<DiagramSocketType> AllTypes { get; }
value = DiagramSocketType.AllTypes
所有可用的元素连接类型 。
Color
public Color Color { get; private set; }
value = diagramSocketType.Color
diagramSocketType.Color = value
相接相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相
Name
public string Name { get; private set; }
value = diagramSocketType.Name
diagramSocketType.Name = value
连接类型的名称 。
Type
public Type Type { get; private set; }
value = diagramSocketType.Type
diagramSocketType.Type = value
连接类型 。
方法
Clone
public override DiagramSocketType Clone()
result = diagramSocketType.Clone()
Create a copy of DiagramSocketType.
返回值: 收到了,我们得去查查
GetSocketType
public static DiagramSocketType GetSocketType(Type parameterType)
result = DiagramSocketType.GetSocketType(parameterType)
获取 & # ####DiagramSocketType ## # 类型。
- parameterType
- 类型。
返回值: 图表套接字类型 。
Load
public void Load(SettingsStorage storage)
diagramSocketType.Load(storage)
装入设置 。
- storage
- 设置存储 。
OnEquals
protected override bool OnEquals(DiagramSocketType other)
result = diagramSocketType.OnEquals(other)
比较DiagramSocketType的等同性.
- other
- 与其它值比较.
返回值: ,如果指定的对象与当前对象相等,否则,
OnPropertyChanged
protected virtual void OnPropertyChanged(string propertyName)
diagramSocketType.OnPropertyChanged(propertyName)
呼叫连接属性值变化事件 。
- propertyName
- 地产名.
RegisterType``1
public static DiagramSocketType RegisterType<T>(string name, Color color)
result = DiagramSocketType.RegisterType(name, color)
用于注册连接类型 。
- name
- 连接类型的名称 。
- color
- 相接相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相
返回值: 连接类型 。
Save
public void Save(SettingsStorage storage)
diagramSocketType.Save(storage)
保存设置 。
- storage
- 设置存储 。
事件
PropertyChanged
public event PropertyChangedEventHandler PropertyChanged
diagramSocketType.PropertyChanged += handler
连接属性值变化事件 。
字段
BasketBlackScholes
public static readonly DiagramSocketType BasketBlackScholes
value = DiagramSocketType.BasketBlackScholes
黑须les.
BlackScholes
public static readonly DiagramSocketType BlackScholes
value = DiagramSocketType.BlackScholes
黑须les.
CandleStates
public static readonly DiagramSocketType CandleStates
value = DiagramSocketType.CandleStates
烛州.
Comparable
public static readonly DiagramSocketType Comparable
value = DiagramSocketType.Comparable
可比数值。
IndicatorValue
public static readonly DiagramSocketType IndicatorValue
value = DiagramSocketType.IndicatorValue
指标值。
MarketDepth
public static readonly DiagramSocketType MarketDepth
value = DiagramSocketType.MarketDepth
市场深度.
OrderFail
public static readonly DiagramSocketType OrderFail
value = DiagramSocketType.OrderFail
秩序失败了。
OrderState
public static readonly DiagramSocketType OrderState
value = DiagramSocketType.OrderState
令发相相.
Portfolio
public static readonly DiagramSocketType Portfolio
value = DiagramSocketType.Portfolio
组合.