void DeliverServices <C>() where C : IController
        {
            IController firstController = null;

            foreach (IController c in _controllers)
            {
                ConduitServices.DeployServices(c);
                c.LoadFramework(this);
                if (c is C)
                {
                    firstController = c as IController;
                }
            }

            if (firstController != null)
            {
                firstController.Display();
            }
        }
Esempio n. 2
0
 public void OnEnable()
 {
     ConduitServices.DeployServices(this);
 }