Conventions
Our first aim is to remove friction, it is not always easy and cannot be done every single time, but one thing that can give a lot of benefits in this area is to move from a configuration based toolkit to a convention based toolkit, we suppose that this concept is widely accepted and is nothing new.
What happens when these lines of code are executed:
A lot of things:
The application
Startup
event is wired;When the
Startup
event is fired:Assemblies are scanned looking for all types
ServiceCollection
is configured using the bootstrap conventions;The Inversion of Control container is created;
The main window (the one identified by the TShellView generic parameter) is resolved and shown;
Last updated