Show / Hide Table of Contents

Class CadenceTimer

Inheritance
object
CadenceTimer
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: CrashCABN.PullIngestion
Assembly: CrashCABN.PullIngestion.dll
Syntax
public static class CadenceTimer

Methods

View Source

GetIndex(TimeSpan, TimeSpan)

Declaration
public static int GetIndex(TimeSpan timeOfDay, TimeSpan cadence)
Parameters
Type Name Description
TimeSpan timeOfDay
TimeSpan cadence
Returns
Type Description
int
View Source

ShouldRun(DateTime, DateTime, TimeSpan)

Declaration
public static bool ShouldRun(DateTime now, DateTime lastRun, TimeSpan cadence)
Parameters
Type Name Description
DateTime now
DateTime lastRun
TimeSpan cadence
Returns
Type Description
bool
  • View Source
In this article
Back to top Generated by DocFX