IBootstrap
Static Members
providerDescription: Static provider to resolve internal dependencies.
Methods
SetProvider(IDependencyProvider provider)Description: Binds a dependency provider to the bootstrap.
Parameters:
provider: The provider to be used for resolving dependencies.
OnBootstrapStartAsyncDescription: Called when the bootstrap starts after the scene has been loaded.
Returns: A task representing the asynchronous operation.
OnBootstrapStopAsyncDescription: Called before the scene unloads to perform any necessary clean-up.
Returns: A task representing the asynchronous operation.
UnloadAsyncDescription: Unloads the current scene.
Returns: A task representing the asynchronous unload operation.
FetchCanvas<T>Description: Fetches an active canvas within the scene scope.
Type Parameters:
T: The type of canvas to fetch.
Returns: The canvas instance if found; otherwise,
null.
SceneWillUnloadAsyncDescription: Called when the scene is about to unload.
Returns: A task representing the asynchronous operation.
SceneWillLoadAsyncDescription: Called when the scene is about to load.
Returns: A task representing the asynchronous operation.
Load(IAsyncScene sceneContext)Description: Called when the scene has finished loading to allow the bootstrap to run.
Parameters:
sceneContext: The context of the loaded scene.
Last updated