Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
ControlRule.cs
1using System.Xml;
3
5{
9 [CollectionName("ControlRules")]
10 public class ControlRule : NodeRule
11 {
15 public ControlRule()
16 : base()
17 {
18 }
19
24 public override void Export(XmlWriter Output)
25 {
26 Output.WriteStartElement("ControlRule", Rule.RuleNamespace);
27 this.ExportContent(Output);
28 Output.WriteEndElement();
29 }
30 }
31}
Controls if a device with a remote JID is allowed to control a device with JID.
Definition: ControlRule.cs:11
override void Export(XmlWriter Output)
Exports the rule.
Definition: ControlRule.cs:24
ControlRule()
Controls if a device with a remote JID is allowed to control a device with JID.
Definition: ControlRule.cs:15
Abstract base class for node rules.
Definition: NodeRule.cs:17
Abstract base class for rules.
Definition: Rule.cs:12
const string RuleNamespace
http://waher.se/Schema/Provisioning/Rules.xsd
Definition: Rule.cs:16