39 public string?
Role {
get;
set; }
55 public override async Task
Open()
59 if (Contract is not
null)
73 StringBuilder Result =
new();
77 Result.Append(this.
Role);
87 return Result.ToString();
A strongly-typed resource class, for looking up localized strings, etc.
static string ContractProposal
Looks up a localized string similar to Contract proposal.
Abstract base class of Contract notification events.
async Task< Contract?> GetContract()
Gets a parsed contract.
Notification event for contract proposals.
override async Task Open()
Opens the event.
ContractProposalNotificationEvent()
Notification event for contract proposals.
string? FromJID
The JID of the sender of proposal.
override async Task< string > GetDescription()
Gets a descriptive text for the category of event.
ContractProposalNotificationEvent(ContractProposalEventArgs e)
Notification event for contract proposals.
Base class that references services in the app.
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 proposals
string MessageText
Optional message to present to recipient.
string Role
Proposed role in proposed contract.
string FromBareJID
Bare JID of resource sending the message.
Task GoToAsync(string Route)
Navigates to the specified route and pushes the page onto the navigation stack.
BackMethod
Navigation Back Method