docs.unity.cn
    Show / Hide Table of Contents

    Interface IInitializablePackage

    Contract for objects able to register a set of IServiceComponent to a given CoreRegistry.

    Namespace: Unity.Services.Core.Internal
    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.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Tuesday, April 26, 2022
    Terms of use