Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
OwnershipEventItem.cs
1
using
NeuroAccessMaui.Services.Contacts
;
2
using
NeuroFeatures.Events
;
3
4
namespace
NeuroAccessMaui.UI.Pages.Wallet.TokenEvents.Events
5
{
10
public
abstract
class
OwnershipEventItem
(
TokenOwnershipEvent
Event) :
ValueEventItem
(Event)
11
{
12
private
readonly
TokenOwnershipEvent
@
event
= Event;
13
private
string
? ownerFriendlyName;
14
18
public
string
Owner => this.@
event
.
Owner
;
19
23
public
string
OwnershipContract => this.@
event
.OwnershipContract;
24
28
public
string
OwnerFriendlyName => this.ownerFriendlyName ??
string
.Empty;
29
33
public
override
async Task DoBind()
34
{
35
await base.DoBind();
36
37
this.ownerFriendlyName = await
ContactInfo
.
GetFriendlyName
(this.Owner);
38
}
39
40
}
41
}
NeuroAccessMaui.Services.Contacts.ContactInfo
Contains information about a contact.
Definition:
ContactInfo.cs:21
NeuroAccessMaui.Services.Contacts.ContactInfo.GetFriendlyName
static async Task< string > GetFriendlyName(CaseInsensitiveString RemoteId)
Gets the friendly name of a remote identity (Legal ID or Bare JID).
Definition:
ContactInfo.cs:257
NeuroFeatures.Events.TokenOwnershipEvent
Abstract base class for token events defining ownership
Definition:
TokenOwnershipEvent.cs:10
NeuroFeatures.Events.TokenOwnershipEvent.Owner
string Owner
Current owner of token
Definition:
TokenOwnershipEvent.cs:26
NeuroAccessMaui.Services.Contacts
Definition:
ContactInfo.cs:11
NeuroAccessMaui.UI.Pages.Wallet.TokenEvents.Events
Definition:
CreatedItem.cs:5
NeuroAccessMaui.UI.Pages.Wallet.TokenEvents.Events.OwnershipEventItem
abstract class OwnershipEventItem(TokenOwnershipEvent Event)
Represents a token ownership event.
Definition:
OwnershipEventItem.cs:10
NeuroAccessMaui.UI.Pages.Wallet.TokenEvents.Events.ValueEventItem
abstract class ValueEventItem(TokenValueEvent Event)
Represents a token value event.
Definition:
ValueEventItem.cs:9
NeuroFeatures.Events
Definition:
Created.cs:5
NeuroAccessMaui
NeuroAccessMaui
UI
Pages
Wallet
TokenEvents
Events
OwnershipEventItem.cs
Generated by
1.9.5