Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
RootsCapabilities.cs
1
using
System.Collections.Generic
;
2
3
namespace
Waher.Networking.HTTP.Mcp.Model.Client
4
{
8
public
class
RootsCapabilities
9
{
13
public
bool
?
ListChanged
{
get
;
internal
set
; }
14
21
public
static
bool
TryParse
(Dictionary<string, object> Generic,
22
out
RootsCapabilities
Typed)
23
{
24
RootsCapabilities
Result =
new
RootsCapabilities
();
25
26
if
(Generic.TryGetValue(
"listChanged"
, out
object
? Obj) &&
27
Obj is
bool
ListChanged
)
28
{
29
Result.ListChanged =
ListChanged
;
30
}
31
32
Typed = Result;
33
return
true
;
34
}
35
}
36
}
Waher.Networking.HTTP.Mcp.Model.Client.RootsCapabilities
Root capabilities structure
Definition:
RootsCapabilities.cs:9
Waher.Networking.HTTP.Mcp.Model.Client.RootsCapabilities.TryParse
static bool TryParse(Dictionary< string, object > Generic, out RootsCapabilities Typed)
Tries to parse a generic structure into a typed structure.
Definition:
RootsCapabilities.cs:21
Waher.Networking.HTTP.Mcp.Model.Client.RootsCapabilities.ListChanged
bool? ListChanged
Whether the client supports notifications for changes to the roots list.
Definition:
RootsCapabilities.cs:13
System.Collections.Generic
Definition:
ImplTypes.g.cs:4970
Waher.Networking.HTTP.Mcp.Model.Client
Definition:
ClientCapabilities.cs:4
IoTGateway
Networking
Waher.Networking.HTTP.Mcp
Model
Client
RootsCapabilities.cs
Generated by
1.9.5