Anvil
|
Additional Plugin Metadata. More...
Properties | |
bool | Isolated [get] |
Gets or sets if this is an isolated plugin. | |
string[] | OptionalDependencies = [] [get] |
A list of optional plugin dependencies. | |
Additional Plugin Metadata.
|
get |
Gets or sets if this is an isolated plugin.
An isolated plugin is given a separate container for services, and its services are hidden from other plugins.
It may still access services from anvil, and other non-isolated plugins.
Isolated plugins may be loaded and unloaded on demand, independent of startup.
|
get |
A list of optional plugin dependencies.
By default, an exception will be thrown at startup if a plugin references a type from another plugin, and the plugin is not loaded.
Adding a plugin name to this list will instead cause these types to be skipped if the plugin is not loaded.