Class BasicTimeSpanProvider
Implementation of ITimeSpanProvider that just exposes a constant TimeSpan.
Implements
Inherited Members
Namespace: Cognite.Extractor.Common
Assembly: Cognite.Common.dll
Syntax
public class BasicTimeSpanProvider : ITimeSpanProvider
Constructors
| Edit this page View SourceBasicTimeSpanProvider(TimeSpan)
Constructor
Declaration
public BasicTimeSpanProvider(TimeSpan value)
Parameters
Type | Name | Description |
---|---|---|
TimeSpan | value | Constant timespan to expose |
Properties
| Edit this page View SourceIsDynamic
Whether the interval is dynamic or not, e.g. cron expression
Declaration
public bool IsDynamic { get; }
Property Value
Type | Description |
---|---|
bool |
Value
Next timespan value.
Declaration
public TimeSpan Value { get; }
Property Value
Type | Description |
---|---|
TimeSpan |