Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
ObservableBooleanField.cs
2{
7 {
8 public override string? StringValue
9 {
10 get => this.BoolValue?.ToString().ToLowerInvariant();
11 set
12 {
13 if (string.IsNullOrWhiteSpace(value))
14 {
15 this.BoolValue = null;
16 }
17 else if (bool.TryParse(value, out bool bv))
18 {
19 this.BoolValue = bv;
20 }
21 }
22 }
23
24 public bool? BoolValue
25 {
26 get => this.RawValue as bool?;
27 set => this.RawValue = value;
28 }
29 }
30}
The base KYC field model. Use as-is for generic fields, or subclass for custom logic.