public ChannelGenerator() { _existingChannels = new Dictionary <Type, object>(); _services = ServiceLocatorBuilder.CreateServiceLocator(); _importResolver = _services.Get <IImportedServicesResolver>(); _contextProvider = _services.Get <IChannelMethodContextProvider>(); }