Show / Hide Table of Contents

Class BasicTimeSpanProvider

Implementation of ITimeSpanProvider that just exposes a constant TimeSpan.

Inheritance
object
BasicTimeSpanProvider
Implements
ITimeSpanProvider
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Cognite.Extractor.Common
Assembly: Cognite.Common.dll
Syntax
public class BasicTimeSpanProvider : ITimeSpanProvider

Constructors

| Edit this page View Source

BasicTimeSpanProvider(TimeSpan)

Constructor

Declaration
public BasicTimeSpanProvider(TimeSpan value)
Parameters
Type Name Description
TimeSpan value

Constant timespan to expose

Properties

| Edit this page View Source

IsDynamic

Whether the interval is dynamic or not, e.g. cron expression

Declaration
public bool IsDynamic { get; }
Property Value
Type Description
bool
| Edit this page View Source

Value

Next timespan value.

Declaration
public TimeSpan Value { get; }
Property Value
Type Description
TimeSpan

Implements

ITimeSpanProvider

Extension Methods

DataModelUtils.GetOrCreateResourcesAsync<T, T2>(T2, IEnumerable<InstanceIdentifier>, Func<IEnumerable<InstanceIdentifier>, IEnumerable<SourcedNodeWrite<T>>>, Func<IEnumerable<SourcedNodeWrite<T>>, SanitationMode, (IEnumerable<SourcedNodeWrite<T>>, IEnumerable<CogniteError<SourcedNodeWrite<T>>>)>, int, int, RetryMode, SanitationMode, CancellationToken)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX