Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
ObservableFileField.cs
3
5{
7 {
8 public override string? StringValue
9 {
10 get => this.RawValue as string;
11 set => this.RawValue = value;
12 }
13 public int? MaxFileSizeMB
14 {
15 get
16 {
17 object? Value;
18 return this.Metadata.TryGetValue("MaxFileSizeMB", out Value) ? Value as int? : null;
19 }
20 }
21 public string[]? AllowedFileTypes
22 {
23 get
24 {
25 object? Value;
26 return this.Metadata.TryGetValue("AllowedFileTypes", out Value) ? Value as string[] : null;
27 }
28 }
29 }
30}
The base KYC field model. Use as-is for generic fields, or subclass for custom logic.
Dictionary< string, object?> Metadata
Arbitrary metadata for field-specific extensions. Use e.g. Metadata["TargetWidth"] or Metadata["MaxFi...