BundleContext Class

Encapsulates the info needed to process a bundle request

System.Object
  System.Web.Optimization.BundleContext

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

public class BundleContext

The BundleContext type exposes the following members.

  NameDescription
Public methodBundleContextInitializes a new instance of the BundleContext class.
Top

  NameDescription
Public propertyBundleCollectionGets or sets the collection of bundles.
Public propertyBundleVirtualPathGets or sets the virtual path for the bundle request
Public propertyEnableInstrumentationGets or sets whether the instrumentation output is requested.
Public propertyEnableOptimizationsGets or sets whether optimizations are enabled via EnableOptimizations.
Public propertyHttpContextGets or sets the HTTP context associated with the bundle context.
Public propertyUseServerCacheGets or sets whether the bindle context will store the bundle response in the HttpContext.Cache.
Top

  NameDescription
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: