Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
BlockDeleted.cs
1using System;
2using System.Text;
3using System.Xml;
7
9{
13 public class BlockDeleted : BlockEvent
14 {
18 public BlockDeleted()
19 : base()
20 {
21 }
22
26 public override string LocalName => "bd";
27
31 public override string PayloadXml
32 {
33 get
34 {
35 StringBuilder Xml = new StringBuilder();
36
37 Xml.Append("<bd");
38 this.AddAttributes(Xml);
39 Xml.Append("/>");
40
41 return Xml.ToString();
42 }
43 }
44
50 public override IPersonalEvent Parse(XmlElement E)
51 {
52 BlockDeleted Result = new BlockDeleted();
53 this.Parse(E, Result);
54 return Result;
55 }
56
57
58 }
59}
Event raised when a block has been deleted.
Definition: BlockDeleted.cs:14
override string PayloadXml
XML representation of the event.
Definition: BlockDeleted.cs:32
BlockDeleted()
Event raised when a block has been deleted.
Definition: BlockDeleted.cs:18
override IPersonalEvent Parse(XmlElement E)
Parses a personal event from its XML representation
Definition: BlockDeleted.cs:50
override string LocalName
Local name of the event element.
Definition: BlockDeleted.cs:26
Abstract base class for Neuro-Ledger block PEP events.
Definition: BlockEvent.cs:13
void AddAttributes(StringBuilder Xml)
Adds XML attributes related to the block.
Definition: BlockEvent.cs:137
Interface for personal event objects.