<< Click to Display Table of Contents >> NShape Reference
|
Adds the given library assembly to the project.
public void AddLibrary(Assembly assembly, bool unloadOnClose) |
Adds the given library assembly to the project.
The library load mechanism of NShape 1.0.x is equal to
project.AutoLoadLibraries = true; |
Name |
Description |
---|---|
Assembly |
Shape or model object library assembly to add. |
unloadOnClose |
Specifies whether the library should be unloaded when closing the project. When setting AutoLoadLibraries to false, libraries should not be unloaded when closing the project. |
Exception |
Condition |
---|---|
ArgumentNullException |
Parameter assembly is null. |
Class Reference: Project.AddLibraryByName Method
Class Reference: Project.AddLibrarByFilePath Method
Class Reference: Project.AutoLoadLibraries Property
Class Reference: Project.LibrarySearchPaths Property