Home

Castle Stronghold

Adding custom components

Aside from the usual AddComponent overloads exposed by the MicroKernel, you can use a few differents selection of methods for specific situations.

Crafting a component instance

The AddCustomComponent allows you to register a ComponentModel directly. The ModelBuilder will be totally skipped from the process.

Adding a component with extended properties

The ComponentModel exposes an Extended Properties dictionary which is used to store entries that can be used by facilities or subsystem. Facilities developers may find the method AddComponentWithExtendedProperties useful.

Google
Search WWW Search castleproject.org