Class CoreProjectContext
The base class for all project contexts.
Inheritance
System.Object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
CoreProjectContext
Namespace: AlchemyBow.Core
Assembly: AlchemyBow.Core.dll
Syntax
public abstract class CoreProjectContext : MonoBehaviour
Properties
Container
Returns the container used for dependency injection or null
before the binding stage.
Declaration
protected Container Container { get; }
Property Value
Type | Description |
---|---|
Container | The container used for dependency injection or |
Methods
GetLoadables()
Override this method to specify an ordered collection of loading members.
Declaration
protected abstract IEnumerable<ICoreLoadable> GetLoadables()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ICoreLoadable> | Returns an ordered collection of loading members or |
InstallAdditionalBindings(IBindOnlyContainer)
Override this method to install additional bindings.
Declaration
protected virtual void InstallAdditionalBindings(IBindOnlyContainer container)
Parameters
Type | Name | Description |
---|---|---|
IBindOnlyContainer | container | The dependency injection container. |