Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
TokenAddedNotificationEvent.cs
2using NeuroFeatures;
4using System.Text;
5
7{
12 {
17 : base()
18 {
19 }
20
26 : base(e)
27 {
28 }
29
33 public override async Task<string> GetDescription()
34 {
35 StringBuilder sb = new();
36
37 sb.Append(ServiceRef.Localizer[nameof(AppResources.TokenAdded2)]);
38 sb.Append(": ");
39 sb.Append(await base.GetDescription());
40
41 return sb.ToString();
42 }
43 }
44}
A strongly-typed resource class, for looking up localized strings, etc.
static string TokenAdded2
Looks up a localized string similar to Token Added.
TokenAddedNotificationEvent()
Contains information about a token that has been added.
override async Task< string > GetDescription()
Gets a descriptive text for the event.
TokenAddedNotificationEvent(TokenEventArgs e)
Contains information about a token that has been added.
Base class that references services in the app.
Definition: ServiceRef.cs:43
static IReportingStringLocalizer Localizer
Localization service
Definition: ServiceRef.cs:370
Event arguments for token events.