Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
TimeSpanHostSetting.cs
1using System;
3
5{
10 {
11 private TimeSpan value = TimeSpan.MinValue;
12
17 {
18 }
19
26 public TimeSpanHostSetting(string Host, string Key, TimeSpan Value)
27 : base(Host, Key)
28 {
29 this.value = Value;
30 }
31
35 [DefaultValueTimeSpanMinValue]
36 public TimeSpan Value
37 {
38 get => this.value;
39 set => this.value = value;
40 }
41
46 public override object GetValueObject()
47 {
48 return this.value;
49 }
50 }
51}
Base abstract class for host settings.
Definition: HostSetting.cs:15
TimeSpanHostSetting(string Host, string Key, TimeSpan Value)
TimeSpan setting object.
override object GetValueObject()
Gets the value of the setting, as an object.