Comments (6)
Thanks for the feedback. Actually, what's more important is that if you found a sample that is showing that code snippet, it needs to be fixed. You should never be calling `ServiceLocator.Current.GetInstance();'
If you like, you can submit a PR. I would prefer the second example to use.
protected override System.Windows.DependencyObject CreateShell()
{
return Container.Resolve<YourApp.Views.Shell>();
}
from prism-documentation.
Thank you for the clarification. I don't think I'm the person for the job to do PRs on my own, though - I really don't know what's what in this framework.
from prism-documentation.
I just provided the snippet to use. Just submit a PR to update the snippet. This is not something I will be spending time doing. So if you want it, best to do it while you're thinking about it.
from prism-documentation.
Ah, alright, I can do that. I was thinking of the bigger picture.
from prism-documentation.
Yeah. It's a great suggestion, but honestly doing this across all docs is not something I really have time for. While it makes it more clear, the current docs do work :). So it's best to just update them as you come across the confusing parts.
from prism-documentation.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
from prism-documentation.
Related Issues (20)
- 404 HOT 3
- Xamarin.Forms Working with NavigationPages is empty HOT 2
- Prism Template Pack stopped working after installing a few other vsix HOT 1
- Remove page Xamarin.Forms > AutoInitialization
- Additional topics? HOT 2
- ¿Net MAUI? HOT 1
- Prism WPF DryIoc application crash with .NET 6.0.1 runtime HOT 1
- Prism with MAUI HOT 1
- AddNavigationSegment is missing from the docs
- Empty region adapters page
- MAUI Documentation appears to be Out-of-Date HOT 4
- Why did I can not Compile my wpf project by using prism 7, what it reports : There is no “Main” function as entrypoint HOT 1
- [Bug] GTK# - Method add_ModuleDownloadProgressChanged does not have an implementation. HOT 7
- Broken Link: Navigation HOT 5
- iOS Navigation bar with back button & maintain stack. HOT 1
- [uno] Can I use multiple DialogWindow in Uno platform prism? HOT 1
- Make Prism Modularity Support clearer HOT 3
- [增强] Prism8.0 documentation HOT 1
- improve docs for modularity (2 issues) HOT 2
- Doc Error - Link not working in Page "Dependency Injection with Prism" HOT 2
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-documentation.