using System.Collections;
namespace EcsRx.Infrastructure.Dependencies
{
///
/// This represents a cross platform DI module which contains
/// contextual bindings
///
///
/// Although you can access the underlying DI container, you should only use
/// the interfaces exposed methods, if you were to do anything on the native
/// object then it will not be cross platform, which may be fine for your
/// use cases, but it is something to keep in mind.
///
public interface IDependencyModule
{
///
/// The entry point where you can setup all your binding config
///
/// The container to bind with
void Setup(IDependencyContainer container);
IEnumerator Initialize(IDependencyContainer container);
void Shutdown(IDependencyContainer container);
}
}