Interface IInitializablePackage
Contract for objects able to register a set of IServiceComponent to a given CoreRegistry.
Namespace: Unity.Services.Core.Internal
Assembly: Unity.Services.Core.Internal.dll
Syntax
public interface IInitializablePackage
Methods
Initialize(CoreRegistry)
Start the process of registering all IServiceComponent
provided by this package to the given registry
.
Declaration
Task Initialize(CoreRegistry registry)
Parameters
Type | Name | Description |
---|---|---|
CoreRegistry | registry | The IServiceComponent container to use. It provides the available IServiceComponent and this package will register the provided IServiceComponent to it. |
Returns
Type | Description |
---|---|
Task | Return a handle to the asynchronous initialization process. |