public IHub ResolveHub(string hubName) { HubDescriptor hub = GetHub(hubName); return hub == null ? null : _activator.Create(hub); }