Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
NeuroFeatures.Events.Destroyed Class Reference

Event raised when a token has been destroyed. More...

Inheritance diagram for NeuroFeatures.Events.Destroyed:
NeuroFeatures.Events.TokenOwnershipEvent NeuroFeatures.Events.TokenValueEvent NeuroFeatures.Events.TokenEvent

Public Member Functions

 Destroyed ()
 Event raised when a token has been destroyed. More...
 
override void Deserialize (XmlElement Xml)
 Deserializes the event from XML. More...
 

Static Public Member Functions

static bool TryParse (XmlElement Xml, out TokenEvent Event)
 Tries to parse a token event from its XML definition. More...
 

Properties

string Owner [get, set]
 Current owner of token More...
 
string OwnershipContract [get, set]
 ID of contract that details the claims of the current owner More...
 
string Currency [get, set]
 Currency used to represent latest value. More...
 
decimal Value [get, set]
 Latest value of token More...
 
string TokenId [get, set]
 Token ID More...
 
bool Personal [get, set]
 If the event is personal or not. Personal events are removed when ownership of the token is changed. More...
 
DateTime Timestamp [get, set]
 When event was recorded. More...
 
DateTime Expires [get, set]
 Expiry date of token. More...
 
DurationArchiveRequired [get, set]
 Required archiving time, after expiry date. More...
 
DurationArchiveOptional [get, set]
 Optional archiving time, after end of required archiving period. More...
 

Detailed Description

Event raised when a token has been destroyed.

Definition at line 6 of file Destroyed.cs.

Constructor & Destructor Documentation

◆ Destroyed()

NeuroFeatures.Events.Destroyed.Destroyed ( )

Event raised when a token has been destroyed.

Definition at line 11 of file Destroyed.cs.

Member Function Documentation

◆ Deserialize()

override void NeuroFeatures.Events.TokenOwnershipEvent.Deserialize ( XmlElement  Xml)
virtualinherited

Deserializes the event from XML.

Parameters
XmlXML definition.

Reimplemented from NeuroFeatures.Events.TokenEvent.

Reimplemented in NeuroFeatures.Events.Transferred.

Definition at line 44 of file TokenOwnershipEvent.cs.

◆ TryParse()

static bool NeuroFeatures.Events.TokenEvent.TryParse ( XmlElement  Xml,
out TokenEvent  Event 
)
staticinherited

Tries to parse a token event from its XML definition.

Parameters
XmlXML definition.
EventParsed event, or null if not able.
Returns
If event could be parsed.

Definition at line 100 of file TokenEvent.cs.

Property Documentation

◆ ArchiveOptional

Duration? NeuroFeatures.Events.TokenEvent.ArchiveOptional
getsetinherited

Optional archiving time, after end of required archiving period.

Definition at line 77 of file TokenEvent.cs.

◆ ArchiveRequired

Duration? NeuroFeatures.Events.TokenEvent.ArchiveRequired
getsetinherited

Required archiving time, after expiry date.

Definition at line 68 of file TokenEvent.cs.

◆ Currency

string NeuroFeatures.Events.TokenValueEvent.Currency
getsetinherited

Currency used to represent latest value.

Definition at line 25 of file TokenValueEvent.cs.

◆ Expires

DateTime NeuroFeatures.Events.TokenEvent.Expires
getsetinherited

Expiry date of token.

Definition at line 59 of file TokenEvent.cs.

◆ Owner

string NeuroFeatures.Events.TokenOwnershipEvent.Owner
getsetinherited

Current owner of token

Definition at line 25 of file TokenOwnershipEvent.cs.

◆ OwnershipContract

string NeuroFeatures.Events.TokenOwnershipEvent.OwnershipContract
getsetinherited

ID of contract that details the claims of the current owner

Definition at line 34 of file TokenOwnershipEvent.cs.

◆ Personal

bool NeuroFeatures.Events.TokenEvent.Personal
getsetinherited

If the event is personal or not. Personal events are removed when ownership of the token is changed.

Definition at line 41 of file TokenEvent.cs.

◆ Timestamp

DateTime NeuroFeatures.Events.TokenEvent.Timestamp
getsetinherited

When event was recorded.

Definition at line 50 of file TokenEvent.cs.

◆ TokenId

string NeuroFeatures.Events.TokenEvent.TokenId
getsetinherited

Token ID

Definition at line 31 of file TokenEvent.cs.

◆ Value

decimal NeuroFeatures.Events.TokenValueEvent.Value
getsetinherited

Latest value of token

Definition at line 34 of file TokenValueEvent.cs.


The documentation for this class was generated from the following file: