Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
DateTimeSetting.cs
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Threading.Tasks;
8
10{
14 public class DateTimeSetting : Setting
15 {
16 private DateTime value = DateTime.MinValue;
17
22 {
23 }
24
30 public DateTimeSetting(string Key, DateTime Value)
31 : base(Key)
32 {
33 this.value = Value;
34 }
35
39 [DefaultValueDateTimeMinValue]
40 public DateTime Value
41 {
42 get => this.value;
43 set => this.value = value;
44 }
45
50 public override object GetValueObject()
51 {
52 return this.value;
53 }
54 }
55}
DateTimeSetting(string Key, DateTime Value)
DateTime setting object.
override object GetValueObject()
Gets the value of the setting, as an object.
Base abstract class for settings.
Definition: Setting.cs:14