Click or drag to resize

MessageConverterHelperFillMessageTMessage Method

To convert the instrument into message.

Namespace:  StockSharp.Algo
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.17.0 (4.4.17)
Syntax
C#
public static TMessage FillMessage<TMessage>(
	this Security security,
	TMessage message
)
where TMessage : SecurityMessage

Parameters

security
Type: StockSharp.BusinessEntitiesSecurity
Security.
message
Type: TMessage
Message.

Type Parameters

TMessage
Message type.

Return Value

Type: TMessage
Message.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Security. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also