Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
TimeSpanUserSetting.cs
1using System;
3
5{
10 {
11 private TimeSpan value = TimeSpan.MinValue;
12
17 {
18 }
19
26 public TimeSpanUserSetting(string User, string Key, TimeSpan Value)
27 : base(User, 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}
TimeSpanUserSetting(string User, string Key, TimeSpan Value)
TimeSpan user setting object.
override object GetValueObject()
Gets the value of the setting, as an object.
Base abstract class for user settings.
Definition: UserSetting.cs:14