Class SecurityIdMapping
- Namespace
- StockSharp.Messages
- Assembly
- StockSharp.Messages.dll
Security identifier mapping.
[DataContract]
public class SecurityIdMapping : IPersistable
- Inheritance
-
SecurityIdMapping
- Implements
-
IPersistable
- Inherited Members
- Extension Methods
Constructors
SecurityIdMapping()
public SecurityIdMapping()
Properties
AdapterId
Adapter format.
[DataMember]
public SecurityId AdapterId { get; set; }
Property Value
StockSharpId
StockSharp format.
[DataMember]
public SecurityId StockSharpId { get; set; }
Property Value
Methods
Load(SettingsStorage)
Load settings.
public void Load(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.
Save(SettingsStorage)
Save settings.
public void Save(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.
ToString()
public override string ToString()
Returns
Operators
explicit operator KeyValuePair<SecurityId, SecurityId>(SecurityIdMapping)
Cast object from SecurityIdMapping to KeyValuePair<TKey, TValue>.
public static explicit operator KeyValuePair<SecurityId, SecurityId>(SecurityIdMapping mapping)
Parameters
mapping
SecurityIdMappingSecurityIdMapping value.
Returns
implicit operator SecurityIdMapping(KeyValuePair<SecurityId, SecurityId>)
Cast KeyValuePair<TKey, TValue> object to the type SecurityIdMapping.
public static implicit operator SecurityIdMapping(KeyValuePair<SecurityId, SecurityId> pair)
Parameters
pair
KeyValuePair<SecurityId, SecurityId>KeyValuePair<TKey, TValue> value.