Show / Hide Table of Contents

Class ExtandableEntityHelper

Extension class for ExtensionInfo.

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

Methods

AddValue(IExtendableEntity, String, Object)

Add value into ExtensionInfo.

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

Entity.

String key

Key.

Object value

Value.

GetValue<T>(IExtendableEntity, String)

Get value from ExtensionInfo.

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

Entity.

String key

Key.

Returns
Type Description
T

Value.

Type Parameters
Name Description
T

Value type.

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