FieldMapping
StockSharp.Algo.Import
Beschreibung des importierenden Felds.
Erbt von: NotifiableObject
Implementiert: IPersistable, ICloneable
Konstruktoren
FieldMapping
protected FieldMapping(string name, Func<string> getDisplayName, Func<string> getDescription, Type type)
fieldMapping = FieldMapping(name, getDisplayName, getDescription, type)
Initialisiert eine neue Instanz von FieldMapping.
- name
- Name.
- getDisplayName
- Name der Anzeige.
- getDescription
- Beschreibung.
- type
- Feldtyp.
Eigenschaften
AdapterType
public Type AdapterType { get; set; }
value = fieldMapping.AdapterType
fieldMapping.AdapterType = value
Adapter.
DefaultValue
public string DefaultValue { get; set; }
value = fieldMapping.DefaultValue
fieldMapping.DefaultValue = value
Standardwert.
Format
public string Format { get; set; }
value = fieldMapping.Format
fieldMapping.Format = value
Datumsformat.
IsAdapter
public bool IsAdapter { get; set; }
value = fieldMapping.IsAdapter
fieldMapping.IsAdapter = value
AdapterType erforderlich.
IsEnabled
public bool IsEnabled { get; set; }
value = fieldMapping.IsEnabled
fieldMapping.IsEnabled = value
Feld aktiviert ist.
IsExtended
public bool IsExtended { get; set; }
value = fieldMapping.IsExtended
fieldMapping.IsExtended = value
Feld erweitert.
IsMultiple
public bool IsMultiple { get; }
value = fieldMapping.IsMultiple
Mehrere Feldinstanzen erlaubt.
IsRequired
public bool IsRequired { get; set; }
value = fieldMapping.IsRequired
fieldMapping.IsRequired = value
Ist Feld erforderlich.
Name
public string Name { get; private set; }
value = fieldMapping.Name
fieldMapping.Name = value
Name.
Order
public int? Order { get; set; }
value = fieldMapping.Order
fieldMapping.Order = value
Feldreihenfolge.
Values
public IEnumerable<FieldMappingValue> Values { get; set; }
value = fieldMapping.Values
fieldMapping.Values = value
Zuordnungswerte.
ZeroAsNull
public bool ZeroAsNull { get; set; }
value = fieldMapping.ZeroAsNull
fieldMapping.ZeroAsNull = value
Null als .
Methoden
ApplyDefaultValue
public void ApplyDefaultValue(object instance)
fieldMapping.ApplyDefaultValue(instance)
Standardwert anwenden.
- instance
- Instanz.
ApplyFileValue
public void ApplyFileValue(object instance, string value)
fieldMapping.ApplyFileValue(instance, value)
Wert anwenden.
- instance
- Instanz.
- value
- Feldwert.
Clone
public abstract object Clone()
result = fieldMapping.Clone()
Erstellt eine tiefe Kopie eines DataSeries
GetOrClone
public FieldMapping GetOrClone()
result = fieldMapping.GetOrClone()
Holen Sie sich FieldMapping Instanz oder Klon abhängig von IsMultiple.
Rückgabe: Feld.
Load
public void Load(SettingsStorage storage)
fieldMapping.Load(storage)
Lasteinstellungen.
- storage
- Einstellungen Lagerung.
OnApply
protected abstract void OnApply(object instance, object value)
fieldMapping.OnApply(instance, value)
Wert anwenden.
- instance
- Instanz.
- value
- Feldwert.
ToString
public override string ToString()
result = fieldMapping.ToString()
Konvertieren Sie in eine Liniendarstellung.
Rückgabe: String-Leistung.
Felder
GetDescription
protected readonly Func<string> GetDescription
value = fieldMapping.GetDescription
Beschreibung.
GetDisplayName
protected readonly Func<string> GetDisplayName
value = fieldMapping.GetDisplayName
Name der Anzeige.