Class TimeFrameExtensionMethods
Extension methods for the TimeFrame enum.
Inheritance
System.Object
TimeFrameExtensionMethods
Namespace: FancyCandles
Assembly: FancyCandles.dll
Syntax
public static class TimeFrameExtensionMethods
Methods
| Improve this Doc View SourceToMinutes(TimeFrame)
Converts a TimeFrame value to a value in minutes.
Declaration
public static double ToMinutes(this TimeFrame tf)
Parameters
Type | Name | Description |
---|---|---|
TimeFrame | tf |
Returns
Type | Description |
---|---|
System.Double |
ToSeconds(TimeFrame)
Converts a TimeFrame value to a value in seconds.
Declaration
public static int ToSeconds(this TimeFrame tf)
Parameters
Type | Name | Description |
---|---|---|
TimeFrame | tf |
Returns
Type | Description |
---|---|
System.Int32 |