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;
3using System.Text;
4
6{
11 {
16 : base()
17 {
18 }
19
24 public TokenAddedNotificationEvent(TokenEventArgs e)
25 : base(e)
26 {
27 }
28
32 public override async Task<string> GetDescription()
33 {
34 StringBuilder sb = new();
35
36 sb.Append(ServiceRef.Localizer[nameof(AppResources.TokenAdded2)]);
37 sb.Append(": ");
38 sb.Append(await base.GetDescription());
39
40 return sb.ToString();
41 }
42 }
43}
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:31
static IStringLocalizer Localizer
Localization service
Definition: ServiceRef.cs:235