Click or drag to resize

CandleHelperIsCandle Method

Determines whether the specified type is derived from Candle.

Namespace:  StockSharp.Algo.Candles
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: (4.4.17)
public static bool IsCandle(
	this Type candleType


Type: SystemType
The candle type.

Return Value

Type: Boolean
if the specified type is derived from Candle, otherwise, .

Usage Note

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