Anvil
Anvil.Plugins.PluginInfoAttribute Class Reference

Additional Plugin Metadata. More...

+ Inheritance diagram for Anvil.Plugins.PluginInfoAttribute:
+ Collaboration diagram for Anvil.Plugins.PluginInfoAttribute:

Properties

string[] OptionalDependencies = Array.Empty<string>() [get]
 A list of optional plugin dependencies. More...
 

Detailed Description

Additional Plugin Metadata.

Property Documentation

◆ OptionalDependencies

string [] Anvil.Plugins.PluginInfoAttribute.OptionalDependencies = Array.Empty<string>()
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.


The documentation for this class was generated from the following file: