Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
PeerRequestIdentityReviewNotificationEvent.cs
1using System.Text;
7
9{
14 {
19 : base()
20 {
21 }
22
28 : base(e)
29 {
30 }
31
35 public override async Task Open()
36 {
37 if (this.Identity is not null)
38 {
39 await ServiceRef.NavigationService.GoToAsync(nameof(ViewIdentityPage), new ViewIdentityNavigationArgs(this.Identity,
41 }
42 }
43
47 public override Task<string> GetDescription()
48 {
49 StringBuilder Result = new();
50
52
53 if (this.Identity is not null)
54 {
55 Result.Append(": ");
56 Result.Append(ContactInfo.GetFriendlyName(this.Identity));
57 }
58
59 Result.Append('.');
60
61 return Task.FromResult(Result.ToString());
62 }
63
64 }
65}
A strongly-typed resource class, for looking up localized strings, etc.
static string IdentityReviewRequest
Looks up a localized string similar to Request to review identity.
Contains information about a contact.
Definition: ContactInfo.cs:22
static async Task< string > GetFriendlyName(CaseInsensitiveString RemoteId)
Gets the friendly name of a remote identity (Legal ID or Bare JID).
Definition: ContactInfo.cs:258
PeerRequestIdentityReviewNotificationEvent(SignaturePetitionEventArgs e)
Notification event for contract proposals.
Base class that references services in the app.
Definition: ServiceRef.cs:43
static INavigationService NavigationService
The navigation service for navigating between pages.
Definition: ServiceRef.cs:178
static IReportingStringLocalizer Localizer
Localization service
Definition: ServiceRef.cs:370
A page to display when the user wants to view an identity.