Export (0) Print
Expand All

Bundle.EnumerateFiles Method

Generates an enumeration of VirtualFile objects that represent the contents of the bundle.

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

public virtual IEnumerable<BundleFile> EnumerateFiles(
	BundleContext context
)

Parameters

context
Type: System.Web.Optimization.BundleContext
The BundleContext object that contains state for both the framework configuration and the HTTP request.

Return Value

Type: System.Collections.Generic.IEnumerable<BundleFile>
An enumeration of VirtualFile objects that represent the contents of the bundle.

This will return all of the base method's files, and also add any dynamic files found in the requested directory at the end.

Show:
© 2014 Microsoft