Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
WalletNotificationEvent.cs
1using Microsoft.Maui.Controls.Shapes;
3
5{
10 {
15 : base()
16 {
17 }
18
23 public WalletNotificationEvent(EventArgs _)
24 : base()
25 {
26 this.Type = NotificationEventType.Wallet;
27 this.Timestamp = this.Received = DateTime.UtcNow;
28 }
29
33 public DateTime Timestamp { get; set; }
34
39 public override Task<Geometry> GetCategoryIcon()
40 {
41 return Task.FromResult(Geometries.MoneyPath);
42 }
43 }
44}
override Task< Geometry > GetCategoryIcon()
Gets an icon for the category of event.
WalletNotificationEvent(EventArgs _)
Abstract base class for wallet notification events.
WalletNotificationEvent()
Abstract base class for wallet notification events.
Static class containing SVG Paths for symbols used in the app.
Definition: Geometries.cs:11
static readonly Geometry MoneyPath
Money button glyph
Definition: Geometries.cs:499
abstract class NotificationEvent()
Abstract base class of notification events.
NotificationEventType
Button on which event is to be displayed.