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 | |
---|---|---|
BundleFile(String, VirtualFile) | Constructor | |
BundleFile(String, VirtualFile, IList<IItemTransform>) | Constructor taking a list of transforms for the file. |
Top
Properties
Name | Description | |
---|---|---|
IncludedVirtualPath | The Included virtualPath that caused this file to be included in the bundle i.e. bundle.Include("~/*.js") or bundle.Include("~/foo.js"). | |
Transforms | Transforms that apply to this specific file. | |
VirtualFile | VirtualFile |
Top
Methods
Name | Description | |
---|---|---|
ApplyTransforms | Applies the transforms to the file and returns the transformed stream. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
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.