Partager via


IgnoreList.FilterIgnoredFiles Method

Filters a set of files and returns a new set that excludes ignored files.

Namespace:  System.Web.Optimization
Assembly:  System.Web.Optimization (in System.Web.Optimization.dll)

Syntax

'Declaration
Public Function FilterIgnoredFiles ( _
    context As BundleContext, _
    files As IEnumerable(Of BundleFile) _
) As IEnumerable(Of BundleFile)
'Usage
Dim instance As IgnoreList 
Dim context As BundleContext 
Dim files As IEnumerable(Of BundleFile)
Dim returnValue As IEnumerable(Of BundleFile)

returnValue = instance.FilterIgnoredFiles(context, _
    files)
public IEnumerable<BundleFile> FilterIgnoredFiles(
    BundleContext context,
    IEnumerable<BundleFile> files
)
public:
IEnumerable<BundleFile^>^ FilterIgnoredFiles(
    BundleContext^ context, 
    IEnumerable<BundleFile^>^ files
)
member FilterIgnoredFiles : 
        context:BundleContext * 
        files:IEnumerable<BundleFile> -> IEnumerable<BundleFile> 
public function FilterIgnoredFiles(
    context : BundleContext, 
    files : IEnumerable<BundleFile>
) : IEnumerable<BundleFile>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<BundleFile>
A set of files with ignored files excluded.

See Also

Reference

IgnoreList Class

System.Web.Optimization Namespace