Click or drag to resize

TraderHelperAddTMessage, TChange Method (TMessage, TChange, Boolean)

Add change into collection.

Namespace:  StockSharp.Algo
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public static TMessage Add<TMessage, TChange>(
	this TMessage message,
	TChange type,
	bool value
)
where TMessage : BaseChangeMessage<TChange>

Parameters

message
Type: TMessage
Change message.
type
Type: TChange
Change type.
value
Type: SystemBoolean
Change value.

Type Parameters

TMessage
Change message type.
TChange
Change type.

Return Value

Type: TMessage
Change message.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . 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