Class GlobalComponentBindingBuilder<TComponent>
Builder for configuring global component bindings. Same as ComponentBindingBuilder<TComponent>, except this builder doesn't allow qualifiers and Plugins.Saneject.Runtime.Proxy.RuntimeProxy<TComponent> bindings. Components bound with this builder are added to the declaring Scope and added to the GlobalScope at runtime before any Awake methods execute.
public class GlobalComponentBindingBuilder<TComponent> : BaseComponentBindingBuilder<TComponent> where TComponent : class
Type Parameters
TComponentThe type of the component being bound.
- Inheritance
-
objectBaseComponentBindingBuilder<TComponent>GlobalComponentBindingBuilder<TComponent>
- Inherited Members
Constructors
GlobalComponentBindingBuilder(ComponentBinding)
Initializes a new instance of the GlobalComponentBindingBuilder<TComponent> class.
public GlobalComponentBindingBuilder(ComponentBinding binding)
Parameters
bindingComponentBindingThe component binding to configure.