Show / Hide Table of Contents

Class ExtandableEntityHelper

Вспомогательный класс для ExtensionInfo.

Inheritance
Object
ExtandableEntityHelper
Namespace: StockSharp.Messages
Assembly: StockSharp.Messages.dll
Syntax
public static class ExtandableEntityHelper : Object

Methods

AddValue(IExtendableEntity, String, Object)

Добавить значение в ExtensionInfo.

Declaration
public static void AddValue(this IExtendableEntity entity, string key, object value)
Parameters
Type Name Description
IExtendableEntity entity

Сущность.

String key

Key.

Object value

Value.

GetValue<T>(IExtendableEntity, String)

Получить значение из ExtensionInfo.

Declaration
public static T GetValue<T>(this IExtendableEntity entity, string key)
Parameters
Type Name Description
IExtendableEntity entity

Сущность.

String key

Key.

Returns
Type Description
T

Value.

Type Parameters
Name Description
T

Тип значения.

☀
☾
In This Article
Back to top
Copyright © StockSharp.
☀
☾