Constructors
Methods
-
Add
Instance(Instance) Add an additional Instance to this PluginFamily/PluginType -
Add
Type(Type) Add a single concrete type as a new Instance with a derived name. Is idempotent. -
Add
Type(Type, Adds a new Instance for the concreteType with a nameString) -
Create
Templated If the PluginType is an open generic type, this method will create a closed type copy of this PluginFamilyClone(Type[]) -
Get
Default Determine the default instance if it can. May return null.Instance() -
Get
Instance(String) Find a named instance for this PluginFamily -
Remove
All() Removes all Instances and resets the default Instance determination -
Remove
Instance(Instance) completely removes an Instance from a PluginFamily -
Set
Default(Instance) Sets the default Instance.
Properties
- Fallback The 'UseIfNone' instance to use if no default is set
- Instances All the Instances held by this family
-
Is
Generic Does this PluginFamily represent an open generic type?Template -
Missing
Instance Can be used to create an object for a named Instance that does not exist - Owner The PluginGraph that "owns" this PluginFamily
-
Plugin
Type The CLR Type that defines the "Plugin" interface for the PluginFamily - Policies The Policies from the root PluginGraph containing this PluginFamily or a default set of Policies if none supplied