BundleFile Class

Represents a single file within a bundle.

System.Object
  System.Web.Optimization.BundleFile

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

public class BundleFile

The BundleFile type exposes the following members.

  NameDescription
Public methodBundleFile(String, VirtualFile)Constructor
Public methodBundleFile(String, VirtualFile, IList<IItemTransform>)Constructor taking a list of transforms for the file.
Top

  NameDescription
Public propertyIncludedVirtualPathThe Included virtualPath that caused this file to be included in the bundle i.e. bundle.Include("~/*.js") or bundle.Include("~/foo.js").
Public propertyTransformsTransforms that apply to this specific file.
Public propertyVirtualFileVirtualFile
Top

  NameDescription
Public methodApplyTransformsApplies the transforms to the file and returns the transformed stream.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

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