Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
PageAppExtension.cs
1using CommunityToolkit.Maui;
61
62namespace NeuroAccessMaui.UI
63{
64 public static class PageAppExtension
65 {
66 public static MauiAppBuilder RegisterPagesManager(this MauiAppBuilder Builder)
67 {
68 // Applications
69 Builder.Services.AddTransient<ApplicationsPage, ApplicationsViewModel>();
70 Builder.Services.AddTransient<ApplyIdPage, ApplyIdViewModel>();
71
72 // Contacts
73 Builder.Services.AddTransient<ChatPage, ChatViewModel>();
74 Builder.Services.AddTransient<MyContactsPage, ContactListViewModel>();
75
76 // Contracts
77 Builder.Services.AddTransient<MyContractsPage, MyContractsViewModel>();
78 Builder.Services.AddTransient<NewContractPage, NewContractViewModel>();
79 Builder.Services.AddTransient<ViewContractPage, ViewContractViewModel>();
80
81 // Identity
82 Builder.Services.AddTransient<TransferIdentityPage, TransferIdentityViewModel>();
83 Builder.Services.AddTransient<ViewIdentityPage, ViewIdentityViewModel>();
84
85 // Main
86 Builder.Services.AddTransient<AppShell>();
87 Builder.Services.AddTransient<CalculatorPage, CalculatorViewModel>();
88 Builder.Services.AddTransient<ChangePasswordPage, ChangePasswordViewModel>();
89 Builder.Services.AddTransient<DurationPage, DurationViewModel>();
90 Builder.Services.AddTransient<MainPage, MainViewModel>();
91 Builder.Services.AddTransient<ScanQrCodePage, ScanQrCodeViewModel>();
92 Builder.Services.AddTransient<SettingsPage, SettingsViewModel>();
93 Builder.Services.AddTransient<VerifyCodePage, VerifyCodeViewModel>();
94 Builder.Services.AddTransient<XmppFormPage, XmppViewModel>();
95
96 // Petitions
97 Builder.Services.AddTransient<PetitionContractPage, PetitionContractViewModel>();
98 Builder.Services.AddTransient<PetitionIdentityPage, PetitionIdentityViewModel>();
99 Builder.Services.AddTransient<PetitionPeerReviewPage, PetitionPeerReviewViewModel>();
100 Builder.Services.AddTransient<PetitionSignaturePage, PetitionSignatureViewModel>();
101 Builder.Services.AddTransient<PhotoView, EmptyViewModel>();
102 Builder.Services.AddTransient<NameView, EmptyViewModel>();
103 Builder.Services.AddTransient<PnrView, EmptyViewModel>();
104 Builder.Services.AddTransient<NationalityView, EmptyViewModel>();
105 Builder.Services.AddTransient<BirthDateView, EmptyViewModel>();
106 Builder.Services.AddTransient<GenderView, EmptyViewModel>();
107 Builder.Services.AddTransient<PersonalAddressInfoView, EmptyViewModel>();
108 Builder.Services.AddTransient<OrganizationalInfoView, EmptyViewModel>();
109 Builder.Services.AddTransient<ConsentView, EmptyViewModel>();
110 Builder.Services.AddTransient<AuthenticateView, EmptyViewModel>();
111 Builder.Services.AddTransient<ApprovedView, EmptyViewModel>();
112
113 Builder.Services.AddTransient<PetitionPeerReviewNavigationArgs>();
114
115
116 // Registration
117 Builder.Services.AddTransient<RegistrationPage, RegistrationViewModel>();
118 Builder.Services.AddTransient<LoadingView, LoadingViewModel>();
119 //Builder.Services.AddTransient<RequestPurposeView, RequestPurposeViewModel>();
120 Builder.Services.AddTransient<ValidatePhoneView, ValidatePhoneViewModel>();
121 Builder.Services.AddTransient<ValidateEmailView, ValidateEmailViewModel>();
122 Builder.Services.AddTransient<ChooseProviderView, ChooseProviderViewModel>();
123 Builder.Services.AddTransient<CreateAccountView, CreateAccountViewModel>();
124 Builder.Services.AddTransient<GetStartedView, GetStartedViewModel>();
125 Builder.Services.AddTransient<NameEntryView, NameEntryViewModel>();
126 Builder.Services.AddTransient<DefinePasswordView, DefinePasswordViewModel>();
127 Builder.Services.AddTransient<BiometricsView, BiometricsViewModel>();
128 Builder.Services.AddTransient<FinalizeView, FinalizeViewModel>();
129 Builder.Services.AddTransient<ContactSupportView, ContactSupportViewModel>();
130
131 // Signatures
132 Builder.Services.AddTransient<ClientSignaturePage, ClientSignatureViewModel>();
133 Builder.Services.AddTransient<ServerSignaturePage, ServerSignatureViewModel>();
134
135 // Things
136 Builder.Services.AddTransient<CanControlPage, CanControlViewModel>();
137 Builder.Services.AddTransient<CanReadPage, CanReadViewModel>();
138 Builder.Services.AddTransient<IsFriendPage, IsFriendViewModel>();
139 Builder.Services.AddTransient<MyThingsPage, MyThingsViewModel>();
140 Builder.Services.AddTransient<ReadSensorPage, ReadSensorViewModel>();
141 Builder.Services.AddTransient<ViewClaimThingPage, ViewClaimThingViewModel>();
142 Builder.Services.AddTransient<ViewThingPage, ViewThingViewModel>();
143
144 // Wallet
145 Builder.Services.AddTransient<AccountEventPage, AccountEventViewModel>();
146 Builder.Services.AddTransient<BuyEDalerPage, BuyEDalerViewModel>();
147 Builder.Services.AddTransient<EDalerReceivedPage, EDalerReceivedViewModel>();
148 Builder.Services.AddTransient<IssueEDalerPage, EDalerUriViewModel>();
149 Builder.Services.AddTransient<MachineReportPage, MachineReportViewModel>();
150 Builder.Services.AddTransient<MachineVariablesPage, MachineVariablesViewModel>();
151 Builder.Services.AddTransient<MyTokensPage, MyTokensViewModel>();
152 Builder.Services.AddTransient<MyEDalerWalletPage, MyWalletViewModel>();
153 Builder.Services.AddTransient<MyTokenWalletPage, MyWalletViewModel>();
154 Builder.Services.AddTransient<PaymentPage, EDalerUriViewModel>();
155 Builder.Services.AddTransient<PaymentAcceptancePage, EDalerUriViewModel>();
156 Builder.Services.AddTransient<PendingPaymentPage, EDalerUriViewModel>();
157 Builder.Services.AddTransient<RequestPaymentPage, RequestPaymentViewModel>();
158 Builder.Services.AddTransient<SellEDalerPage, SellEDalerViewModel>();
159 Builder.Services.AddTransient<SendPaymentPage, EDalerUriViewModel>();
160 Builder.Services.AddTransient<ServiceProvidersPage, ServiceProvidersViewModel>();
161 Builder.Services.AddTransient<TokenDetailsPage, TokenDetailsViewModel>();
162 Builder.Services.AddTransient<TokenEventsPage, TokenEventsViewModel>();
163
164 // Popups
165 Builder.Services.AddTransient<ImageView, ImageViewModel>();
166 Builder.Services.AddTransient<AddTextNotePopup, AddTextNoteViewModel>();
167
168 // Xmpp
169 Builder.Services.AddTransient<RemoveSubscriptionPopup, RemoveSubscriptionViewModel>();
170 Builder.Services.AddTransient<ReportOrBlockPopup, ReportOrBlockViewModel>();
171 Builder.Services.AddTransient<ReportTypePopup, ReportTypeViewModel>();
172 Builder.Services.AddTransient<SubscribeToPopup, SubscribeToViewModel>();
173 Builder.Services.AddTransient<SubscriptionRequestPopup, SubscriptionRequestViewModel>();
174
175 return Builder;
176 }
177 }
178}
The view model to bind to for when displaying the applications page.
Page allowing the user to apply for a Personal ID.
The view model to bind to for when displaying the an application for a Personal ID.
A page that displays a list of the current user's contacts.
The view model to bind to when displaying the list of contacts.
The view model to bind to when displaying the list of contacts.
A page that displays a list of the current user's contacts.
A page that displays a list of the current user's contracts.
The view model to bind to when displaying 'my' contracts.
A page that allows the user to create a new contract.
The view model to bind to when displaying a new contract view or page.
The view model to bind to for when displaying contracts.
A page to display when the user wants to transfer an identity.
A page to display when the user wants to view an identity.
The view model to bind to for when displaying identities.
A page that allows the user to calculate the value of a numerical input field.
The view model to bind to for when displaying the calculator.
A page that allows the user to duration the value of a numerical input field.
The view model to bind to for when displaying the duration.
A page to display for scanning of a QR code, either automatically via the camera, or by entering the ...
The view model to bind to when scanning a QR code.
The view model to bind to for when displaying the settings page.
The view model to bind to when verifying a code.
A page that displays an XMPP Form to the user.
A page to display when the user is asked to petition a contract.
The view model to bind to when displaying petitioning of a contract in a view or page.
A page to display when the user is asked to petition an identity.
The view model to bind to when displaying petitioning of an identity in a view or page.
A page to display when the user is asked to review an identity application.
The view model to bind to when displaying petitioning of an identity in a view or page.
A page to display when the user is asked to petition a signature.
The view model to bind to when displaying petitioning of a signature in a view or page.
The view model to bind to for when displaying client signatures.
The view model to bind to for when displaying server signatures.
A page that asks the user if a remote entity is allowed to control the device.
The view model to bind to when displaying a thing.
A page that asks the user if a remote entity is allowed to read the device.
The view model to bind to when displaying a thing.
A page that asks the user if a remote entity is allowed to connect to a device.
The view model to bind to when displaying a thing.
A page that displays a list of the current user's things.
The view model to bind to when displaying the list of things.
A page that displays sensor data from a sensor.
The view model to bind to when displaying a thing.
The view model to bind to for when displaying thing claim information.
A page that displays information about a thing and allows the user to interact with it.
The view model to bind to when displaying a thing.
A page that allows the user to view information about an account event.
The view model to bind to for when displaying the contents of an account event.
A page that allows the user to buy eDaler.
The view model to bind to for buying eDaler.
A page that displays information about eDaler received.
The view model to bind to for displaying information about an incoming balance change.
The view model to bind to for when displaying the contents of an eDaler URI.
A page that allows the user to receive newly issued eDaler.
A page that allows the user to view a state-machine report.
The view model to bind to for when displaying information about the current state of a state-machine.
A page that allows the user to view information about the current state of a state-machine.
The view model to bind to for when displaying information about the current state of a state-machine.
A page that allows the user to view its tokens.
A page that allows the user to view the contents of its eDaler wallet, pending payments and recent ac...
A page that allows the user to view the contents of its token wallet, pending payments and recent acc...
A page that allows the user to realize payments.
A page that allows the user to accept an offline payment.
A page that allows the user to view information about a pending payment.
A page that displays information about eDaler received.
A page that allows the user to sell eDaler.
A page that allows the user to realize payments.
The view model to bind to for when displaying a list of service providers.
A page that allows the user to view information about a token.
A page that allows the user to view information about a token.
The view model to bind to for when displaying the events of a token.
A view model that holds the XMPP state.
A generic UI component to display an image.
The class to use as binding context for displaying images.
Prompts the user for text to add as a note for a token.
View model for popup page prompting the user for a text note to be added.
Asks the user if it wants to remove an existing presence subscription request as well.
Prompts the user for a response of a presence subscription request.
Prompts the user for a response of a presence subscription request.
Asks the user if it wants to remove an existing presence subscription request as well.
Prompts the user for a response of a presence subscription request.
partial class MyTokensViewModel(MyTokensNavigationArgs? Args)
The view model to bind to for when displaying my tokens.
partial class MyWalletViewModel(WalletNavigationArgs? Args)
The view model to bind to for when displaying the wallet.
partial class TokenDetailsViewModel(TokenDetailsPage Page, TokenDetailsNavigationArgs? Args)
The view model to bind to for when displaying the contents of a token.