Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
NewContractPage.xaml.cs
1using CommunityToolkit.Maui.Layouts;
4
6{
10 [XamlCompilation(XamlCompilationOptions.Compile)]
12 {
13
18 {
19 this.InitializeComponent();
20
21 StateContainer.SetCurrentState(this.StateGrid, NewContractStep.Loading.ToString());
22 ViewModel.StateObject = this.StateGrid;
23 this.BindingContext = ViewModel;
24 }
25
26
31 public Task ShowContractOptions(IDictionary<CaseInsensitiveString, object>[] Options)
32 {
33 //if (this.ContentPageModel is NewContractViewModel ViewModel)
34 //await ViewModel.ShowContractOptions(Options);
35
36 return Task.CompletedTask;
37 }
38
39 }
40}
A base class for all pages, intended for custom navigation with explicit life-cycle events.
A page that allows the user to create a new contract.
Task ShowContractOptions(IDictionary< CaseInsensitiveString, object >[] Options)
Method called (from main thread) when contract options are made available.
NewContractPage(NewContractViewModel ViewModel)
Creates a new instance of the NewContractPage class.
Interface for pages that can receive contract options from an asynchronous process.
NewContractStep
The different steps of creating a new contract.