Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
Context.cs
1using System.Collections.Generic;
4
6{
7 public class Context
8 {
9 private Dictionary<string, bool> names = null;
12 private string[] serviceTokens = null;
13 private string[] deviceTokens = null;
14 private string[] userTokens = null;
15 private FieldType types = FieldType.All;
16
17 public Context()
18 {
19 }
20
21 public CaseInsensitiveString RemoteJid
22 {
23 get => this.remoteJid;
24 set => this.remoteJid = value;
25 }
26
27 public CaseInsensitiveString RemoteDomain
28 {
29 get => this.remoteDomain;
30 set => this.remoteDomain = value;
31 }
32
33 public string[] ServiceTokens
34 {
35 get => this.serviceTokens;
36 set => this.serviceTokens = value;
37 }
38
39 public string[] DeviceTokens
40 {
41 get => this.deviceTokens;
42 set => this.deviceTokens = value;
43 }
44
45 public string[] UserTokens
46 {
47 get => this.userTokens;
48 set => this.userTokens = value;
49 }
50
51 public Dictionary<string, bool> Names
52 {
53 get => this.names;
54 set => this.names = value;
55 }
56
57 public FieldType Types
58 {
59 get => this.types;
60 set => this.types = value;
61 }
62 }
63}
Represents a case-insensitive string.
static readonly CaseInsensitiveString Empty
Empty case-insensitive string
FieldType
Field Type flags
Definition: FieldType.cs:10