public LocationController(ILocationRepository locationManager, IRegionRepository regionRepository, ICityRepository cityRepository, IProfileGroupRepository profileGroupRepository) { _locationRepository = locationManager; _regionRepository = regionRepository; _cityRepository = cityRepository; _profileGroupRepository = profileGroupRepository; }
public RegisteredSipsManager( IRegisteredSipRepository registeredSipRepository, ICallRepository callRepository, IUserAgentRepository userAgentRepository, ILocationRepository locationRepository, IProfileGroupRepository profileGroupRepository, ISettingsManager settingsManager) { _registeredSipRepository = registeredSipRepository; _callRepository = callRepository; _userAgentRepository = userAgentRepository; _locationRepository = locationRepository; _profileGroupRepository = profileGroupRepository; _settingsManager = settingsManager; }
public CallEndedTests() { var settingsManager = new SettingsManager(new SettingsRepository(new CachingService())); var locationManager = new LocationManager(new LocationRepository(new CachingService())); var sipAccountManager = new SipAccountManager(new SipAccountRepository(new CachingService())); var metaRepository = new MetaRepository(new CachingService()); var locationRepository = new LocationRepository(new CachingService()); var userAgentRepository = new UserAgentRepository(new CachingService()); var registeredSipRepository = new RegisteredSipRepository(settingsManager, locationManager, metaRepository, userAgentRepository, sipAccountManager, new CachingService()); _registeredSipRepository = new CachedRegisteredSipRepository(new CachingService(), registeredSipRepository); var profileGroupRepository = new ProfileGroupRepository(new CachingService()); _profileGroupRepository = new CachedProfileGroupRepository(new CachingService(), profileGroupRepository); _kamailioMessageManager = new KamailioMessageManager( _registeredSipRepository, new CachedCallRepository( new CachingService(), new CallRepository(new CallHistoryRepository(new CachingService()), settingsManager, new CachingService()) ) ); _callRepository = new CallRepository(new CallHistoryRepository(new CachingService()), settingsManager, new CachingService()); _callRepository = new CachedCallRepository( new CachingService(), new CallRepository( new CallHistoryRepository(new CachingService()), settingsManager, new CachingService() ) ); _registeredSipsManager = new RegisteredSipsManager(registeredSipRepository, _callRepository, userAgentRepository, locationRepository, profileGroupRepository, settingsManager); }
public ProfileGroupController(IProfileGroupRepository profileGroupRepository, IProfileRepository profileRepository) { _profileGroupRepository = profileGroupRepository; _profileRepository = profileRepository; }
public CachedProfileGroupRepository(IAppCache lazyCache, IProfileGroupRepository internalRepository) { _lazyCache = lazyCache; _internalRepository = internalRepository; }