Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
StringSetting.cs
1
using
System;
2
using
Waher.Persistence.Attributes
;
3
4
namespace
Waher.Runtime.Settings.SettingObjects
5
{
9
public
class
StringSetting
:
Setting
10
{
11
private
string
value =
string
.Empty;
12
16
public
StringSetting
()
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
}
Waher.Runtime.Settings.SettingObjects.Setting
Base abstract class for settings.
Definition:
Setting.cs:14
Waher.Runtime.Settings.SettingObjects.Setting.Key
string Key
Key name.
Definition:
Setting.cs:48
Waher.Runtime.Settings.SettingObjects.StringSetting
String setting object.
Definition:
StringSetting.cs:10
Waher.Runtime.Settings.SettingObjects.StringSetting.Value
string Value
Value.
Definition:
StringSetting.cs:36
Waher.Runtime.Settings.SettingObjects.StringSetting.GetValueObject
override object GetValueObject()
Gets the value of the setting, as an object.
Definition:
StringSetting.cs:45
Waher.Runtime.Settings.SettingObjects.StringSetting.StringSetting
StringSetting(string Key, string Value)
String setting object.
Definition:
StringSetting.cs:25
Waher.Runtime.Settings.SettingObjects.StringSetting.StringSetting
StringSetting()
String setting object.
Definition:
StringSetting.cs:16
Waher.Persistence.Attributes
Definition:
ArchivingTimeAttribute.cs:4
Waher.Runtime.Settings.SettingObjects
Definition:
BooleanSetting.cs:10
IoTGateway
Runtime
Waher.Runtime.Settings
SettingObjects
StringSetting.cs
Generated by
1.9.5