Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
BooleanSetting.cs
1
using
System;
2
using
System.Collections.Generic;
3
using
System.Linq;
4
using
System.Text;
5
using
System.Threading.Tasks;
6
using
Waher.Persistence
;
7
using
Waher.Persistence.Attributes
;
8
9
namespace
Waher.Runtime.Settings.SettingObjects
10
{
14
public
class
BooleanSetting
:
Setting
15
{
16
private
bool
value =
false
;
17
21
public
BooleanSetting
()
22
{
23
}
24
30
public
BooleanSetting
(
string
Key
,
bool
Value
)
31
: base(
Key
)
32
{
33
this.value =
Value
;
34
}
35
39
public
bool
Value
40
{
41
get
=> this.value;
42
set
=> this.value = value;
43
}
44
49
public
override
object
GetValueObject
()
50
{
51
return
this.value;
52
}
53
}
54
}
Waher.Runtime.Settings.SettingObjects.BooleanSetting
Boolean setting object.
Definition:
BooleanSetting.cs:15
Waher.Runtime.Settings.SettingObjects.BooleanSetting.GetValueObject
override object GetValueObject()
Gets the value of the setting, as an object.
Definition:
BooleanSetting.cs:49
Waher.Runtime.Settings.SettingObjects.BooleanSetting.BooleanSetting
BooleanSetting()
Boolean setting object.
Definition:
BooleanSetting.cs:21
Waher.Runtime.Settings.SettingObjects.BooleanSetting.BooleanSetting
BooleanSetting(string Key, bool Value)
Boolean setting object.
Definition:
BooleanSetting.cs:30
Waher.Runtime.Settings.SettingObjects.BooleanSetting.Value
bool Value
Value.
Definition:
BooleanSetting.cs:40
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.Persistence.Attributes
Definition:
ArchivingTimeAttribute.cs:4
Waher.Persistence
Definition:
Bookmark.cs:4
Waher.Runtime.Settings.SettingObjects
Definition:
BooleanSetting.cs:10
IoTGateway
Runtime
Waher.Runtime.Settings
SettingObjects
BooleanSetting.cs
Generated by
1.9.5