Bundle Constructor (String, String, IBundleTransform[])

Bundle Constructor (String, String, IBundleTransform[])

Initializes a new instance of the Bundle class.

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

public Bundle(
	string virtualPath,
	string cdnPath,
	params IBundleTransform[] transforms
)

Parameters

virtualPath
Type: System.String
The virtual path used to reference the Bundle from within a view or Web page.
cdnPath
Type: System.String
An alternate URL for the bundle when it is stored in a content delivery network.
transforms
Type: System.Web.Optimization.IBundleTransform[]
A list of IBundleTransform objects which process the contents of the bundle in the order which they are added.
Show:
© 2016 Microsoft