BundleResponse Class

BundleResponse Class

Encapsulates the response data that will be sent for a bundle request.


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

public class BundleResponse

The BundleResponse type exposes the following members.

Public methodBundleResponse()Initializes a new instance of the BundleResponse class.
Public methodBundleResponse(String, IEnumerable<BundleFile>)Initializes a new instance of the BundleResponse class.

Public propertyCacheabilityGets or sets a value that is used to set the Cache-Control HTTP header.
Public propertyContentGets or sets the content of the bundle which is sent as the response body.
Public propertyContentTypeGets or sets the media type that is sent in the HTTP content/type header.
Public propertyFilesGets or sets the list of files in the bundle.

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.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2016 Microsoft