search
HomeCommon ProblemWhat does bootstrapper mean?

What does bootstrapper mean?

Jul 18, 2019 pm 02:03 PM

Prism is an ultra-lightweight open source framework, formerly known as Angel, and now renamed Prism. Initial Research on Prism Initialization Application

What does bootstrapper mean?

Bootstrapper (Recommended learning: Bootstrap video tutorial)

The responsibility of the Bootstrapper class is to initialize the application using the Prism class library. Most of the functions provided by the abstract class Bootstrapper are virtual methods.

DI

The UnityBootstrapper and MefBootstrapper classes implement most of the necessary functions.

Shell

In a Prism application, the responsibility for creating the Shell or main window is Bootstrapper's. Because some services that the Shell depends on, such as the Region Manager, need to be initialized before the Shell is displayed.

Key decision

Whether to use Unity, MEF or other dependency injection container, this determines the Bootstrapper class creation;

What services are used by the application, these The service needs to be registered in the container;

Determine whether it is necessary to create a log service, or whether other log services are required;

Determine which modules you want the application to discover, by displaying code statements and folder scanning , configuration file or XAML configuration;

Core steps

Create Bootstrapper

Implement the CreateShell method

Return to your application Shell As an instance of the class, you can choose to create a Shell object or obtain the Shell from the Container according to your needs.

protected override DependencyObject CreateShell()<br>{<br>     return this.Container.Resolve<shell>();<br>}<br></shell>

For more technical articles related to Bootstrap, please visit the Bootstrap Tutorial column to learn!

The above is the detailed content of What does bootstrapper mean?. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Chat Commands and How to Use Them
1 months agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment