internal BulkAutomaticLink(MailboxInfoForLinking mailboxInfo, ContactLinkingLogger logger, IContactLinkingPerformanceTracker performanceTracker, IDirectoryPersonSearcher directoryPersonSearcher, ContactStoreForBulkContactLinking contactStoreForBulkContactLinking) { Util.ThrowOnNullArgument(mailboxInfo, "mailboxInfo"); Util.ThrowOnNullArgument(logger, "logger"); Util.ThrowOnNullArgument(performanceTracker, "performanceTracker"); Util.ThrowOnNullArgument(directoryPersonSearcher, "directoryPersonSearcher"); Util.ThrowOnNullArgument(contactStoreForBulkContactLinking, "contactStoreForBulkContactLinking"); this.logger = logger; this.performanceTracker = performanceTracker; this.contactStore = contactStoreForBulkContactLinking; this.automaticLink = new AutomaticLink(mailboxInfo, this.logger, this.performanceTracker, directoryPersonSearcher, this.contactStore); }
public AutomaticLink(MailboxInfoForLinking mailboxInfo, IExtensibleLogger logger, IContactLinkingPerformanceTracker performanceTracker, IDirectoryPersonSearcher directoryPersonSearcher, IContactStoreForContactLinking contactStoreForContactLinking) : base(mailboxInfo, logger, performanceTracker) { Util.ThrowOnNullArgument(directoryPersonSearcher, "directoryPersonSearcher"); Util.ThrowOnNullArgument(contactStoreForContactLinking, "contactStoreForContactLinking"); Util.ThrowOnNullArgument(performanceTracker, "performanceTracker"); this.directoryPersonSearcher = directoryPersonSearcher; this.contactStoreForContactLinking = contactStoreForContactLinking; }