FieldMapping

StockSharp.Algo.Import

Importing field description.

Hereda de: NotifiableObject

Implementa: IPersistable, ICloneable

Constructores

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

Initializes a new instance of the FieldMapping.

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

Propiedades

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 .

Métodos

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.

Devuelve: Field.

Load(SettingsStorage)

Load settings.

storage
Settings storage.
OnApply(object, object)

Apply value.

instance
Instance.
value
Field value.
Reset()

Reset state.

ToString() : string

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

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

Campos

GetDescription : Func<string>

Description.

GetDisplayName : Func<string>

Display name.