Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
BooleanSetting.cs
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Threading.Tasks;
8
10{
14 public class BooleanSetting : Setting
15 {
16 private bool value = false;
17
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}
override object GetValueObject()
Gets the value of the setting, as an object.
BooleanSetting(string Key, bool Value)
Boolean setting object.
Base abstract class for settings.
Definition: Setting.cs:14