Aqueduct.Appia.Host.HtmlExporter.ShouldCopy C# (CSharp) Method

ShouldCopy() private method

private ShouldCopy ( string filePath ) : bool
filePath string
return bool
        private bool ShouldCopy(string filePath)
        {
            foreach (var excludedFolder in _exludedFolders)
            {
                if (filePath.StartsWith(excludedFolder, StringComparison.CurrentCultureIgnoreCase))
                    return false;
            }

            var extension = Path.GetExtension(filePath);
            return _exludedExtensions.Contains(extension.ToLower()) == false;
        }