FieldMapping

StockSharp.Algo.Import

フィールドの説明をインポートします。

継承元: NotifiableObject

実装: IAsyncPersistable, ICloneable

コンストラクター

FieldMapping
protected FieldMapping(string name, Func<string> getDisplayName, Func<string> getDescription, Type type)
fieldMapping = FieldMapping(name, getDisplayName, getDescription, type)

FieldMapping の新規インスタンスを初期化します。

name
お名前.
getDisplayName
ディスプレイ名。
getDescription
説明。
type
フィールドタイプ。

プロパティ

AdapterType
public Type AdapterType { get; set; }
value = fieldMapping.AdapterType
fieldMapping.AdapterType = value

アダプター。

DefaultValue
public string DefaultValue { get; set; }
value = fieldMapping.DefaultValue
fieldMapping.DefaultValue = value

デフォルト値。

Description
public string Description { get; }
value = fieldMapping.Description

説明。

DisplayName
public string DisplayName { get; }
value = fieldMapping.DisplayName

ディスプレイ名。

Format
public string Format { get; set; }
value = fieldMapping.Format
fieldMapping.Format = value

日付形式。

IsAdapter
public bool IsAdapter { get; set; }
value = fieldMapping.IsAdapter
fieldMapping.IsAdapter = value

担当: 佐藤 浩一

IsEnabled
public bool IsEnabled { get; set; }
value = fieldMapping.IsEnabled
fieldMapping.IsEnabled = value

フィールドが有効になっています。

IsExtended
public bool IsExtended { get; set; }
value = fieldMapping.IsExtended
fieldMapping.IsExtended = value

フィールドは拡張されます。

IsMultiple
public bool IsMultiple { get; }
value = fieldMapping.IsMultiple

複数のフィールドのインスタンスが許可されています。

IsRequired
public bool IsRequired { get; set; }
value = fieldMapping.IsRequired
fieldMapping.IsRequired = value

フィールドが必要です。

Name
public string Name { get; private set; }
value = fieldMapping.Name
fieldMapping.Name = value

お名前.

Order
public int? Order { get; set; }
value = fieldMapping.Order
fieldMapping.Order = value

フィールドオーダー

Type
public Type Type { get; }
value = fieldMapping.Type

フィールドタイプ。

Values
public IEnumerable<FieldMappingValue> Values { get; set; }
value = fieldMapping.Values
fieldMapping.Values = value

値のマッピング。

ZeroAsNull
public bool ZeroAsNull { get; set; }
value = fieldMapping.ZeroAsNull
fieldMapping.ZeroAsNull = value

ゼロ として .

メソッド

ApplyDefaultValue
public void ApplyDefaultValue(object instance)
fieldMapping.ApplyDefaultValue(instance)

デフォルト値を適用します。

instance
インスタンス。
ApplyFileValue
public void ApplyFileValue(object instance, string value)
fieldMapping.ApplyFileValue(instance, value)

値を適用します。

instance
インスタンス。
value
フィールド値。
Clone
public abstract object Clone()
result = fieldMapping.Clone()

DataSeriesの深いコピーを作成します。

戻り値: A new object that is a deep copy of this instance.

CopyTo
protected void CopyTo(FieldMapping destination)
fieldMapping.CopyTo(destination)

Copy the settings into .

destination
The field that receives the settings.
GetOrClone
public FieldMapping GetOrClone()
result = fieldMapping.GetOrClone()

FieldMapping@ インスタンスまたはクローンに依存するIsMultiple@ を取得します。

戻り値: フィールド。

LoadAsync
public Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = fieldMapping.LoadAsync(storage, cancellationToken)

Load settings.

storage
Settings storage.
cancellationToken
CancellationToken

戻り値: Task

OnApply
protected abstract void OnApply(object instance, object value)
fieldMapping.OnApply(instance, value)

値を適用します。

instance
インスタンス。
value
フィールド値。
Reset
public void Reset()
fieldMapping.Reset()

リセット状態。

ToString
public override string ToString()
result = fieldMapping.ToString()

ライン表現に換算します。

戻り値: 弦のパフォーマンス。

フィールド

GetDescription
protected readonly Func<string> GetDescription
value = fieldMapping.GetDescription

説明。

GetDisplayName
protected readonly Func<string> GetDisplayName
value = fieldMapping.GetDisplayName

ディスプレイ名。