BundleFile Class

Represents a single file within a bundle.

Inheritance Hierarchy

System.Object
  System.Web.Optimization.BundleFile

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

Syntax

'Declaration
Public Class BundleFile
'Usage
Dim instance As BundleFile
public class BundleFile
public ref class BundleFile
type BundleFile =  class end
public class BundleFile

The BundleFile type exposes the following members.

Constructors

  Name Description
Public method BundleFile(String, VirtualFile) Constructor
Public method BundleFile(String, VirtualFile, IList<IItemTransform>) Constructor taking a list of transforms for the file.

Top

Properties

  Name Description
Public property IncludedVirtualPath The Included virtualPath that caused this file to be included in the bundle i.e. bundle.Include("~/*.js") or bundle.Include("~/foo.js").
Public property Transforms Transforms that apply to this specific file.
Public property VirtualFile VirtualFile

Top

Methods

  Name Description
Public method ApplyTransforms Applies the transforms to the file and returns the transformed stream.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Web.Optimization Namespace