Example #1
0
    // Use this for initialization
    void Start()
    {
        DIContainer.BindModules();

        Employer boss = new Employer();

        boss.InjectWorker(DIContainer.GetModule <IWorker>());
        boss.Enslave();
    }