Table of Contents

Class CadLoadedPlugin

Namespace
OpenCAD2D.Plugins
Assembly
OpenCAD2D.Core.dll

A plugin CadPluginManager knows in this session: where it was loaded from, whether it is loaded now, whether it lies in the plugin folder or is on the startup list, and the plugin itself while it is loaded.

public sealed class CadLoadedPlugin
Inheritance
CadLoadedPlugin
Inherited Members

Properties

Assemblies

Gets the assemblies loaded for it while it is loaded; null once it is unloaded.

IconPath

Gets the full path of the icon its manifest names, beside its manifest; null where it names none.

IsInstalled

Gets whether it lies in the plugin folder (a .dll there, or a folder of .dll files at any depth), and so is loaded at every start.

IsLoaded

Gets whether it is loaded.

IsSource

Gets whether it is given as C# source (a folder with a .csproj), compiled when it loads.

IsTrusted

Gets whether its path lies in a trusted folder.

LoadAtStartup

Gets whether it is on the startup list, loaded at every start.

Manifest

Gets the manifest; null for a bare .dll with no plugin.json beside it.

Name

Gets the name: the manifest's, or the .dll's without its extension.

Path

Gets the full path it is loaded from: a .dll, or the folder of a plugin.

Plugin

Gets the plugin while it is loaded; null once it is unloaded.

Methods

ToString()