Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
KycOption.cs
2{
3 public class KycOption
4 {
5 public KycOption(string value, KycLocalizedText label)
6 {
7 this.Value = value;
8 this.Label = label;
9 }
10
11 public string Value { get; }
12 public KycLocalizedText Label { get; }
13 public string GetLabel(string? lang = null)
14 {
15 return this.Label.Get(lang) ?? this.Value;
16 }
17 }
18}
Represents a set of localized strings, addressable by language code (e.g. "en", "sv").
string? Get(string? Lang)
Gets a localized value for a specific language.