BundleContext Class
Encapsulates the info needed to process a bundle request
Inheritance Hierarchy
System.Object
System.Web.Optimization.BundleContext
Namespace: System.Web.Optimization
Assembly: System.Web.Optimization (in System.Web.Optimization.dll)
Syntax
'Declaration
Public Class BundleContext
'Usage
Dim instance As BundleContext
public class BundleContext
public ref class BundleContext
type BundleContext = class end
public class BundleContext
The BundleContext type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
BundleContext | Initializes a new instance of the BundleContext class. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
BundleCollection | Gets or sets the collection of bundles. |
![]() |
BundleVirtualPath | Gets or sets the virtual path for the bundle request |
![]() |
EnableInstrumentation | Gets or sets whether the instrumentation output is requested. |
![]() |
EnableOptimizations | Gets or sets whether optimizations are enabled via EnableOptimizations. |
![]() |
HttpContext | Gets or sets the HTTP context associated with the bundle context. |
![]() |
UseServerCache | Gets or sets whether the bindle context will store the bundle response in the HttpContext.Cache. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
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.