VirtualPropertyRegistry
StockSharp.Diagram
Extra properties registry.
Методы
AddProperty(Type, EntityProperty, Type, Func<object, object>)
Add property.
- entityType
- Entity type.
- property
- Property info.
- propType
- Property type
- getter
- Getter.
GetVirtualProperties(Type) : IEnumerable<EntityProperty>
Get properties.
- entityType
- Entity type.
Возвращает: Extra properties.
TryGetVirtualPropertyType(Type, string, Type) : bool
Try get property type.
- entityType
- Entity type.
- propName
- Property name.
- propType
- Property type
Возвращает: Operation result.
TryGetVirtualValue(object, string, object) : bool
Try get property value.
- entity
- Entity.
- propName
- Property name.
- value
- Value.
Возвращает: Operation result.