Interface IInitializablePackageV2
For package inializers that supports multiple instances and identities.
Inherited Members
Namespace: Unity.Services.Core.Internal
Assembly: Unity.Services.Core.Internal.dll
Syntax
public interface IInitializablePackageV2 : IInitializablePackage
Methods
InitializeInstanceAsync(CoreRegistry)
Initializes an instance of the service.
Declaration
Task InitializeInstanceAsync(CoreRegistry registry)
Parameters
Type | Name | Description |
---|---|---|
CoreRegistry | registry | The core registry to retrieve from and register to. |
Returns
Type | Description |
---|---|
Task |
Register(CorePackageRegistry)
Registers itself to the core package registry.
Declaration
void Register(CorePackageRegistry registry)
Parameters
Type | Name | Description |
---|---|---|
CorePackageRegistry | registry | The package registry to register to. |