BundleContext Constructor
Initializes a new instance of the BundleContext class.
Namespace: System.Web.Optimization
Assembly: System.Web.Optimization (in System.Web.Optimization.dll)
Syntax
'Declaration
Public Sub New ( _
context As HttpContextBase, _
collection As BundleCollection, _
bundleVirtualPath As String _
)
'Usage
Dim context As HttpContextBase
Dim collection As BundleCollection
Dim bundleVirtualPath As String
Dim instance As New BundleContext(context, _
collection, bundleVirtualPath)
public BundleContext(
HttpContextBase context,
BundleCollection collection,
string bundleVirtualPath
)
public:
BundleContext(
HttpContextBase^ context,
BundleCollection^ collection,
String^ bundleVirtualPath
)
new :
context:HttpContextBase *
collection:BundleCollection *
bundleVirtualPath:string -> BundleContext
public function BundleContext(
context : HttpContextBase,
collection : BundleCollection,
bundleVirtualPath : String
)
Parameters
- context
Type: System.Web.HttpContextBase
The context.
- collection
Type: System.Web.Optimization.BundleCollection
The collection of bundles.
- bundleVirtualPath
Type: System.String
The virtual path of the bundles.