Partager via


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
Public method BundleResponse() Initializes a new instance of the BundleResponse class.
Public method BundleResponse(String, IEnumerable<BundleFile>) Initializes a new instance of the BundleResponse class.

Top

Properties

  Name Description
Public property Cacheability Gets or sets a value that is used to set the Cache-Control HTTP header.
Public property Content Gets or sets the content of the bundle which is sent as the response body.
Public property ContentType Gets or sets the media type that is sent in the HTTP content/type header.
Public property Files Gets or sets the list of files in the bundle.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method 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.

See Also

Reference

System.Web.Optimization Namespace