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
- context
Type: System.Web.Optimization.BundleContext
The BundleContext object that contains state for both the framework configuration and the HTTP request.
- files
Type: System.Collections.Generic.IEnumerable<BundleFile>
The set of files with ignored files excluded.
Return Value
Type: System.Collections.Generic.IEnumerable<BundleFile>
A set of files with ignored files excluded.