internal NpoiHelper() { _entityType = typeof(TEntity); _excelConfiguration = (ExcelConfiguration <TEntity>)InternalCache.TypeExcelConfigurationDictionary.GetOrAdd(_entityType, t => InternalHelper.GetExcelConfigurationMapping <TEntity>()); _sheetSettings = _excelConfiguration.SheetSettings.AsReadOnly(); InternalHelper.AdjustColumnIndex(_excelConfiguration); _propertyColumnDictionary = _excelConfiguration.PropertyConfigurationDictionary.Where(_ => !_.Value.PropertySetting.IsIgnored).ToDictionary(_ => _.Key, _ => _.Value.PropertySetting); }