Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
ServiceDiscoveryResult.cs
1using System;
2using System.Collections.Generic;
3
5{
10 {
11 private readonly Dictionary<string, bool> features;
12 private readonly Identity[] identities;
13
14 internal ServiceDiscoveryResult(Identity[] Identities, Dictionary<string, bool> Features)
15 {
16 this.identities = Identities;
17 this.features = Features;
18 }
19
24 {
25 get => this.identities;
26 }
27
31 public Dictionary<string, bool> Features
32 {
33 get => this.features;
34 }
35
41 public bool HasFeature(string Feature)
42 {
43 return this.features.ContainsKey(Feature);
44 }
45 }
46}
Contains information about an identity of an entity.
Definition: Identity.cs:12
bool HasFeature(string Feature)
Checks if the remote entity supports a specific feature.