dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components
TimeInterval Class
TimeInterval is a class that describes a length of time in one of ten temporal
units such as seconds, days, or years.
ArcGIS Maps SDK for JavaScript
public class TimeInterval : dymaptic.GeoBlazor.Core.Components.MapComponent
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 TimeInterval
Constructors
TimeInterval() Constructor
Parameterless constructor for use as a Razor Component.
public TimeInterval();
TimeInterval(TemporalTime, double) Constructor
Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.
public TimeInterval(dymaptic.GeoBlazor.Core.Enums.TemporalTime unit, double value);
Parameters
unit
TemporalTime
Temporal units.
default “milliseconds”
ArcGIS Maps SDK for JavaScript
value
System.Double
The numerical value of the time extent.
default 0
ArcGIS Maps SDK for JavaScript
Properties
TimeInterval.Unit Property
Temporal units.
default “milliseconds”
ArcGIS Maps SDK for JavaScript
public System.Nullable<dymaptic.GeoBlazor.Core.Enums.TemporalTime> Unit { get; set; }
Property Value
TimeInterval.Value Property
The numerical value of the time extent.
default 0
ArcGIS Maps SDK for JavaScript
public System.Nullable<double> Value { get; set; }
Property Value
System.Nullable<System.Double>
Methods
TimeInterval.GetUnit() Method
Asynchronously retrieve the current value of the Unit property.
public System.Threading.Tasks.Task<System.Nullable<dymaptic.GeoBlazor.Core.Enums.TemporalTime>> GetUnit();
Returns
System.Threading.Tasks.Task<System.Nullable<TemporalTime>>
TimeInterval.GetValue() Method
Asynchronously retrieve the current value of the Value property.
public System.Threading.Tasks.Task<System.Nullable<double>> GetValue();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Double>>
TimeInterval.SetUnit(Nullable) Method
Asynchronously set the value of the Unit property after render.
public System.Threading.Tasks.Task SetUnit(System.Nullable<dymaptic.GeoBlazor.Core.Enums.TemporalTime> value);
Parameters
value
System.Nullable<TemporalTime>
The value to set.
Returns
TimeInterval.SetValue(Nullable) Method
Asynchronously set the value of the Value property after render.
public System.Threading.Tasks.Task SetValue(System.Nullable<double> value);
Parameters
value
System.Nullable<System.Double>
The value to set.