42 public override async Task
Open()
46 if (!this.
Response || Contract is
null)
53 ViewContractNavigationArgs Args =
new(
Contract,
false);
65 StringBuilder Result =
new();
77 return Result.ToString();
A strongly-typed resource class, for looking up localized strings, etc.
static string PetitionToViewContractWasDenied
Looks up a localized string similar to Petition to view contract was denied..
static string ContractResponse
Looks up a localized string similar to Response to contract request.
static string Ok
Looks up a localized string similar to OK.
static string Message
Looks up a localized string similar to Message.
Abstract base class of Contract notification events.
async Task< Contract?> GetContract()
Gets a parsed contract.
Notification event for contract petition responses.
ContractResponseNotificationEvent()
Notification event for contract petition responses.
override async Task Open()
Opens the event.
override async Task< string > GetDescription()
Gets a descriptive text for the category of event.
ContractResponseNotificationEvent(ContractPetitionResponseEventArgs e)
Notification event for contract petition responses.
Base class that references services in the app.
static IUiService UiService
Service serializing and managing UI-related tasks.
static INavigationService NavigationService
The navigation service for navigating between pages.
static IReportingStringLocalizer Localizer
Localization service
The data model for a contract.
static async Task< string?> GetCategory(Contract Contract)
Gets the category of a contract
A page that displays a specific contract.
Contains the definition of a contract
Event arguments for smart contract petition responses
bool Response
If accepted (true) or rejected (false).
Task GoToAsync(string Route)
Navigates to the specified route and pushes the page onto the navigation stack.
Task< bool > DisplayAlert(string Title, string Message, string? Accept=null, string? Cancel=null)
Displays an alert/message box to the user.
BackMethod
Navigation Back Method