OrderSideExtensionsWithShort Method

GF API Documentation

Namespace:  GF.Api.Values.Orders
Assembly:  GF.Api.Values (in GF.Api.Values.dll) Version: dd7171be68430789135ec75c4e9f4bbfeca31201
Syntax

public static OrderSide WithShort(
	this OrderSide side,
	bool isShort
)

Parameters

side
Type: GF.Api.Values.OrdersOrderSide
isShort
Type: SystemBoolean

Return Value

Type: OrderSide

Usage Note

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

Reference