using System.Threading.Tasks;
namespace Unity.Services.Core.Internal
{
///
/// Contract for objects able to register a set of
/// to a given .
///
public interface IInitializablePackage
{
///
/// Start the process of registering all
/// provided by this package to the given .
///
///
/// The container to use.
/// It provides the available and this package
/// will register the provided to it.
///
///
/// Return a handle to the asynchronous initialization process.
///
Task Initialize(CoreRegistry registry);
}
}