Show / Hide Table of Contents

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 Source

ToMinutes(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
| Improve this Doc View Source

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
  • Improve this Doc
  • View Source

Class TimeFrameExtensionMethods

Back to top Generated by DocFX. Copyright Ⓒ Dennis Geller 2019.