public EncodingScrutatorFolder(DirectoryInfo folder, InspectFileWhiteListSetting inspectFileWhiteListSetting,
                                IncludeFileSetting includeFileSetting)
 {
     FaceFolder = folder;
     Name       = folder.Name;
     InspectFileWhiteListSetting = inspectFileWhiteListSetting;
     IncludeFileSetting          = includeFileSetting;
 }
 /// <summary>
 ///     获取包含文件的规则
 /// </summary>
 private void GetIncludeRegexFile()
 {
     if (_includeRegexFile == null)
     {
         _includeRegexFile = new List <Regex>();
         foreach (var temp in IncludeFileSetting.GetaIncludeRegexFile())
         {
             _includeRegexFile.Add(new Regex(temp, RegexOptions.IgnoreCase));
         }
     }
 }