Click or drag to resize

UnitHelper2Points Method (Int32, Security)

To create from Int32 the points values.

Namespace:  StockSharp.BusinessEntities
Assembly:  StockSharp.BusinessEntities (in StockSharp.BusinessEntities.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public static Unit Points(
	this int value,
	Security security
)

Parameters

value
Type: SystemInt32
Int32 value.
security
Type: StockSharp.BusinessEntitiesSecurity
The instrument from which information about the price increment cost is taken.

Return Value

Type: Unit
Points.

Usage Note

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