Comments (3)
This is an error in your own code. There's just a lot of mess here... and I'm not sure what you're trying to accomplish but I am betting that if you're passing around the DI container you need to re-evaluate your architecture. While this is indeed sometimes necessary it is much more the exception that you should be using the DI container directly. Remember that you can do things like inject Lazy<T>
or Func<T>
by default with Prism.
Bottom line though if you new up another instance of your Tool and then don't set the IContainerProvider you shouldn't be surprised when you get a NullReferenceException.
from prism.
Thanks for comments. I think I didn't reproduce the original problem. Sorry for wasting your time.
from prism.
Thanks for comments. I think I didn't reproduce the original problem. Sorry for wasting your time.
from prism.
Related Issues (20)
- [BUG] Link to Prism License T&C is wrong HOT 1
- PrismNavigationPage doesn't allow you to change navbar title color HOT 3
- [BUG] App crash with the attached sample project HOT 1
- [BUG] .NET 8 MAUI App crashes on startup HOT 2
- [BUG] Putting an app in background when a modal is being displayed crashes the App HOT 2
- [BUG] System.ArgumentException: Page to remove must be contained on this Navigation Page HOT 4
- Tab Navigation working in iOS but not Android[BUG] HOT 7
- [BUG] Region is not working on Maui when Rider Debugger is attached HOT 7
- [BUG]DelegateCommand.ObservesProperty method does not function correctly HOT 1
- [BUG] [Regions] LayoutViewRegionAdapter should be mapped to Maui.Controls.Layout instead of Maui.Controls.Compatibility.Layout HOT 1
- [BUG] [Regions] [FlyoutPage] View discovery on FlyoutPage
- [Enhancement] [Regions] Add 'AddOrReplace' to IRegionBehaviorFactory HOT 3
- [BUG] In some cases, my Dedug will suddenly get stuck HOT 1
- [BUG] Popup Dialogs are hidden/covered by calling Page when called after returning from MAUI FilePicker HOT 4
- [BUG] Plugin.Popups.Maui on iOS navigate to new page when showing popup Page HOT 10
- [BUG] Absolute navigation not working on iOS HOT 3
- [BUG] Wiring view models for pages in tabbed page are done by name HOT 1
- [BUG] Popup Dialog can't fullscreen and also DialogLayout.CloseOnBackgroundTapped not working. HOT 5
- Add CloseDialog to IDialogService or Extension Method
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prism.