Class DdeTableColumn
Метаинформация колонки таблицы, передаваемой под DDE.
Implements
Ecng.Serialization.IPersistable
Namespace: StockSharp.Quik
Assembly: StockSharp.Quik.dll
Syntax
public class DdeTableColumn : Equatable<DdeTableColumn>, IPersistable
Constructors
DdeTableColumn(String, Type)
Create DdeTableColumn.
Declaration
public DdeTableColumn(string name, Type dataType)
Parameters
Type | Name | Description |
---|---|---|
String | name | Имя колонки. |
Type | dataType | Тип данных в колонке. |
Properties
DataType
Тип данных в колонке.
Declaration
public Type DataType { get; }
Property Value
Type | Description |
---|---|
Type |
IsMandatory
Является ли колонка обязательной.
Declaration
public bool IsMandatory { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Name
Имя колонки.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
String |
Methods
Clone()
Create a copy of DdeTableColumn.
Declaration
public override DdeTableColumn Clone()
Returns
Type | Description |
---|---|
DdeTableColumn | Copy. |
GetHashCode()
Get the hash code of the object DdeTableColumn.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 | A hash code. |
Load(SettingsStorage)
Load settings.
Declaration
public void Load(SettingsStorage storage)
Parameters
Type | Name | Description |
---|---|---|
Ecng.Serialization.SettingsStorage | storage | Settings storage. |
OnEquals(DdeTableColumn)
Compare DdeTableColumn on the equivalence.
Declaration
protected override bool OnEquals(DdeTableColumn other)
Parameters
Type | Name | Description |
---|---|---|
DdeTableColumn | other | Another value with which to compare. |
Returns
Type | Description |
---|---|
Boolean | true, if the specified object is equal to the current object, otherwise, false. |
Save(SettingsStorage)
Save settings.
Declaration
public void Save(SettingsStorage storage)
Parameters
Type | Name | Description |
---|---|---|
Ecng.Serialization.SettingsStorage | storage | Settings storage. |
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | A string that represents the current object. |
Implements
Ecng.Serialization.IPersistable