public Directory(ILdapConnectionFactory ldapConnectionFactory, ILdapConnectionSettings ldapConnectionSettings, IDirectorySettings directorySettings, IDistinguishedNameParser distinguishedNameParser)
        {
            if (ldapConnectionFactory == null)
            {
                throw new ArgumentNullException("ldapConnectionFactory");
            }

            if (ldapConnectionSettings == null)
            {
                throw new ArgumentNullException("ldapConnectionSettings");
            }

            if (directorySettings == null)
            {
                throw new ArgumentNullException("directorySettings");
            }

            if (distinguishedNameParser == null)
            {
                throw new ArgumentNullException("distinguishedNameParser");
            }

            this._directorySettings       = directorySettings;
            this._distinguishedNameParser = distinguishedNameParser;
            this._ldapConnectionFactory   = ldapConnectionFactory;
            this._ldapConnectionSettings  = ldapConnectionSettings;
        }
 public Directory(ILdapConnectionFactory ldapConnectionFactory, ILdapConnectionSettings ldapConnectionSettings, IDirectorySettings directorySettings, IDistinguishedNameParser distinguishedNameParser) : base(ldapConnectionFactory, ldapConnectionSettings, directorySettings, distinguishedNameParser)
 {
 }