Initialization

<< >>

Navigation:  CodeStencil > Code Nanites >

Initialization

 

Code Nanites are initialized 3 different ways. Some are optional and some are mandatory.

 

1st Sequence (Mandatory):  Code Nanites are loaded from the code nanite system folder usually located in C:\Documents\CodeStencil\CodeNanites or wherever your Documents folder is configured.

 

2nd Sequence (Mandatory): The Code Nanites related to a specific Stencil or Project are loaded next as soon as the Stencil file or Project File is loaded.

 

Stencils

The Code Nanites for the stencil you have loaded resides in the assemblies folder of the Stencil. Take the aspnetcore stencil for example, the Code Nanites created to work with that stencil will reside here:

D:\Documents\CodeStencil\Stencils\aspnetcore-razor\Assemblies

 

Projects

Project don't have Code Nanites of their own, however, they can call on the Code Nanites that belongs to the Stencils that created the project, so long as that stencil has not been uninstalled from the application.

 

3rd Sequence (Optional): You can load Code Nanites residing in any folder by passing a debug file as a part of the command line parameter when you load CodeStencil.