Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
StringSetting.cs
1using System;
3
5{
9 public class StringSetting : Setting
10 {
11 private string value = string.Empty;
12
17 {
18 }
19
25 public StringSetting(string Key, string Value)
26 : base(Key)
27 {
28 this.value = Value;
29 }
30
34 [DefaultValueStringEmpty]
35 public string Value
36 {
37 get => this.value;
38 set => this.value = value;
39 }
40
45 public override object GetValueObject()
46 {
47 return this.value;
48 }
49 }
50}
Base abstract class for settings.
Definition: Setting.cs:14
override object GetValueObject()
Gets the value of the setting, as an object.
StringSetting(string Key, string Value)
String setting object.