/// <summary>
        /// Initializes a new instance of the <see cref="TypeModelFinder{TModel, TModelAttribute}" /> class.
        /// </summary>
        /// <param name="logService">The log service.</param>
        /// <exception cref="ArgumentNullException">Thrown if <paramref name="logService" /> is <c>null</c>.</exception>
        public TypeModelFinder(ILogService logService)
        {
            if (logService == null)
            {
                throw new ArgumentNullException(nameof(logService));
            }

            _logService = logService;
            _comparer   = new TypeModelComparer <TModel, TModelAttribute>();
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="ContentTypeModelFinder{TModel, TModelAttribute, TContentType}"/> class.
        /// </summary>
        /// <param name="logService">The log service,</param>
        /// <param name="typeRepository">The type repository.</param>
        /// <exception cref="ArgumentNullException">Thrown if <paramref name="logService" />, or <paramref name="typeRepository" /> are <c>null</c>.</exception>
        public ContentTypeModelFinder(ILogService logService, ITypeRepository typeRepository)
            : base(logService)
        {
            if (logService == null)
            {
                throw new ArgumentNullException(nameof(logService));
            }

            if (typeRepository == null)
            {
                throw new ArgumentNullException(nameof(typeRepository));
            }

            _logService     = logService;
            _typeRepository = typeRepository;
            _comparer       = new TypeModelComparer <TModel, TModelAttribute>();
        }