Welcome Guest, you are in: Login

dbones docs

RSS RSS

Navigation (boxes)




Search the wiki
»
In this article we will quickly look over the responsibility of the Loader Component.

The loader component in Boxes is very important and can effect the behaviour of how to handle package modules (assemblies).

Image

The packages contain multiple modules (assemblies) which are to be loaded into the current AppDomain. The Loader will handle how to load the assembly into the AppDomain.

Boxes comes with two different loaders


both loaders derive from the LoaderBase, the base class maintains a list of loaded modules (a protected field call Loaded) which we refer to has the Global Module list. this list is very important.

Modules listed in the Loaded list are considered as exported assemblies, this is used to import a module into another package. Each loader uses this list differently to offer the required behaviour.

You can easily implement your own.
dbones docs, is a sub-site of dbones.co.uk, all its content belongs to dbones.co.uk, this also includes logo's.