public ExchangeConferenceRoomService(IMeetingRepository meetingRepository, ISecurityRepository securityRepository, IBroadcastService broadcastService, IDateTimeService dateTimeService, IMeetingCacheService meetingCacheService, IChangeNotificationService changeNotificationService, IExchangeServiceManager exchangeServiceManager, ISimpleTimedCache simpleTimedCache, IInstantMessagingService instantMessagingService, ISmsMessagingService smsMessagingService, ISmsAddressLookupService smsAddressLookupService, ISignatureService signatureService, IRoomRepository roomRepository) { _meetingRepository = meetingRepository; _securityRepository = securityRepository; _broadcastService = broadcastService; _dateTimeService = dateTimeService; _meetingCacheService = meetingCacheService; _changeNotificationService = changeNotificationService; _exchangeServiceManager = exchangeServiceManager; _simpleTimedCache = simpleTimedCache; _instantMessagingService = instantMessagingService; _smsMessagingService = smsMessagingService; _smsAddressLookupService = smsAddressLookupService; _signatureService = signatureService; _roomRepository = roomRepository; _ignoreFree = bool.Parse(ConfigurationManager.AppSettings["ignoreFree"] ?? "false"); _useChangeNotification = bool.Parse(ConfigurationManager.AppSettings["useChangeNotification"] ?? "true"); _impersonateForAllCalls = bool.Parse(ConfigurationManager.AppSettings["impersonateForAllCalls"] ?? "true"); _emailDomains = (ConfigurationManager.AppSettings["emailDomains"] ?? "") .Split(';') .Select(_ => _.StartsWith("@") ? _.ToLowerInvariant() : "@" + _.ToLowerInvariant()) .ToArray(); }
public ExchangeRestConferenceRoomService(ExchangeRestWrapper exchange, GraphRestWrapper graph, IContextService contextService, IDateTimeService dateTimeService, IBuildingRepository buildingRepository, IFloorRepository floorRepository, IMeetingRepository meetingRepository, IBroadcastService broadcastService, ISignatureService signatureService, ISmsAddressLookupService smsAddressLookupService, ISmsMessagingService smsMessagingService, IRoomMetadataRepository roomRepository, IMeetingCacheService meetingCacheService, IExchangeRestChangeNotificationService exchangeRestChangeNotificationService, ISimpleTimedCache simpleTimedCache, MeetingCacheReloaderFactory meetingCacheReloaderFactory) { _exchange = exchange; _graph = graph; _contextService = contextService; _dateTimeService = dateTimeService; _buildingRepository = buildingRepository; _floorRepository = floorRepository; _meetingRepository = meetingRepository; _broadcastService = broadcastService; _signatureService = signatureService; _smsAddressLookupService = smsAddressLookupService; _smsMessagingService = smsMessagingService; _roomRepository = roomRepository; _meetingCacheService = meetingCacheService; _exchangeRestChangeNotificationService = exchangeRestChangeNotificationService; _simpleTimedCache = simpleTimedCache; _meetingCacheReloaderFactory = meetingCacheReloaderFactory; }
public ExchangeConferenceRoomService(IMeetingRepository meetingRepository, IBroadcastService broadcastService, IDateTimeService dateTimeService, IMeetingCacheService meetingCacheService, IChangeNotificationService changeNotificationService, IExchangeServiceManager exchangeServiceManager, ISimpleTimedCache simpleTimedCache, ISmsMessagingService smsMessagingService, ISmsAddressLookupService smsAddressLookupService, ISignatureService signatureService, IRoomMetadataRepository roomRepository, IBuildingRepository buildingRepository, IFloorRepository floorRepository, IContextService contextService, IConferenceRoomDiscoveryService exchangeConferenceRoomDiscoveryService, ExchangeConferenceRoomServiceConfiguration config) { if (config == null) { throw new ArgumentNullException(nameof(config)); } _meetingRepository = meetingRepository; _broadcastService = broadcastService; _dateTimeService = dateTimeService; _meetingCacheService = meetingCacheService; _changeNotificationService = changeNotificationService; _exchangeServiceManager = exchangeServiceManager; _simpleTimedCache = simpleTimedCache; _smsMessagingService = smsMessagingService; _smsAddressLookupService = smsAddressLookupService; _signatureService = signatureService; _roomRepository = roomRepository; _buildingRepository = buildingRepository; _floorRepository = floorRepository; _contextService = contextService; _exchangeConferenceRoomDiscoveryService = exchangeConferenceRoomDiscoveryService; _ignoreFree = config.IgnoreFree; _useChangeNotification = config.UseChangeNotification; _impersonateForAllCalls = config.ImpersonateForAllCalls; _emailDomains = config.EmailDomains; }