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(); } }
public void OnEnable() { ConduitServices.DeployServices(this); }