Class ComponentManager
- Namespace
- SharpPluginLoader.Core.Components
- Assembly
- SharpPluginLoader.Core.dll
Represents an instace of a cComponentManager.
public class ComponentManager : MtObject
- Inheritance
-
ComponentManager
- Inherited Members
Constructors
ComponentManager()
public ComponentManager()
ComponentManager(nint)
public ComponentManager(nint instance)
Parameters
instance
nint
Properties
Root
The root component of this component manager.
public Component? Root { get; }
Property Value
Methods
Find(MtDti, bool)
public Component? Find(MtDti dti, bool allowSubclass = false)
Parameters
dti
MtDtiThe MtDti of the component to find.
allowSubclass
boolWhether or not to allow subclasses of the specified DTI.
Returns
Find(string, bool)
public Component? Find(string name, bool allowSubclass = false)
Parameters
name
stringThe name of the component to find.
allowSubclass
boolWhether or not to allow subclasses of the specified DTI.