FieldMapping

StockSharp.Algo.Import

Importing field description.

継承元: NotifiableObject

実装: IPersistable, ICloneable

コンストラクター

FieldMapping(string, Func<string>, Func<string>, Type)

Initializes a new instance of the FieldMapping.

name
Name.
getDisplayName
Display name.
getDescription
Description.
type
Field type.

プロパティ

AdapterType : Type

Adapter.

DefaultValue : string

Default value.

Description : string

Description.

DisplayName : string

Display name.

Format : string

Date format.

IsAdapter : bool

AdapterType required.

IsEnabled : bool

Is field enabled.

IsExtended : bool

Is field extended.

IsMultiple : bool

Multiple field's instancies allowed.

IsRequired : bool

Is field required.

Name : string

Name.

Order : int?

Field order.

Type : Type

Field type.

Values : IEnumerable<FieldMappingValue>

Mapping values.

ZeroAsNull : bool

Zero as .

メソッド

ApplyDefaultValue(object)

Apply default value.

instance
Instance.
ApplyFileValue(object, string)

Apply value.

instance
Instance.
value
Field value.
Clone() : object

Creates a deep copy of a DataSeries

GetOrClone() : FieldMapping

Get FieldMapping instance or clone dependent on IsMultiple.

戻り値: Field.

Load(SettingsStorage)

Load settings.

storage
Settings storage.
OnApply(object, object)

Apply value.

instance
Instance.
value
Field value.
Reset()

Reset state.

ToString() : string

Преобразовать к строковому представлению.

戻り値: Строковое представление.

フィールド

GetDescription : Func<string>

Description.

GetDisplayName : Func<string>

Display name.