BundleResponse Class
Encapsulates the response data that will be sent for a bundle request.
Inheritance Hierarchy
System.Object
System.Web.Optimization.BundleResponse
Namespace: System.Web.Optimization
Assembly: System.Web.Optimization (in System.Web.Optimization.dll)
Syntax
'Declaration
Public Class BundleResponse
'Usage
Dim instance As BundleResponse
public class BundleResponse
public ref class BundleResponse
type BundleResponse = class end
public class BundleResponse
The BundleResponse type exposes the following members.
Constructors
Name | Description | |
---|---|---|
BundleResponse() | Initializes a new instance of the BundleResponse class. | |
BundleResponse(String, IEnumerable<BundleFile>) | Initializes a new instance of the BundleResponse class. |
Top
Properties
Name | Description | |
---|---|---|
Cacheability | Gets or sets a value that is used to set the Cache-Control HTTP header. | |
Content | Gets or sets the content of the bundle which is sent as the response body. | |
ContentType | Gets or sets the media type that is sent in the HTTP content/type header. | |
Files | Gets or sets the list of files in the bundle. |
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.