Bundle Class
Represents a list of file references to be bundled together as a single resource.
System::Object
System.Web.Optimization::Bundle
System.Web.Optimization::DynamicFolderBundle
System.Web.Optimization::ScriptBundle
System.Web.Optimization::StyleBundle
System.Web.Optimization::Bundle
System.Web.Optimization::DynamicFolderBundle
System.Web.Optimization::ScriptBundle
System.Web.Optimization::StyleBundle
Assembly: System.Web.Optimization (in System.Web.Optimization.dll)
The Bundle type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Bundle() | Initializes a new instance of the Bundle class. |
![]() | Bundle(String) | Initializes a new instance of the Bundle class. |
![]() | Bundle(String, String) | Initializes a new instance of the Bundle class. |
![]() | Bundle(String, array<IBundleTransform>) | Initializes a new instance of the Bundle class. |
![]() | Bundle(String, String, array<IBundleTransform>) | Initializes a new instance of the Bundle class. |
| Name | Description | |
|---|---|---|
![]() | Builder | Gets the object used to build the bundle content from the individual files included in the Bundle object. |
![]() | CdnFallbackExpression | Gets the script expression rendered by the Scripts helper class to reference the local bundle file if the CDN is unavailable. |
![]() | CdnPath | Gets or sets an alternate URL for the bundle when it is stored in a content delivery network. |
![]() | ConcatenationToken | Gets the token inserted between bundled files to ensure that the final bundle content is valid. |
![]() | EnableFileExtensionReplacements | Gets a value that specifies whether to use the FileExtensionReplacementList. |
![]() | Orderer | Gets a value that determines the order of files in a bundle. |
![]() | Path | Gets the virtual path used to reference the Bundle from within a view or Web page. |
![]() | Transforms | Gets the transforms which process the contents of a bundle. |
| Name | Description | |
|---|---|---|
![]() | ApplyTransforms | Applies the transforms to the bundle. |
![]() | CacheLookup | Overrides this to implement own caching logic. |
![]() | EnumerateFiles | Generates an enumeration of VirtualFile objects that represent the contents of the bundle. |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GenerateBundleResponse | Processes the bundle request to generate the response. |
![]() | GetCacheKey | Gets the cache key for the specified bundle context. |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | Include(array<String>) | Specifies a set of files to be included in the Bundle. |
![]() | Include(String, array<IItemTransform>) | Specifies a set of files to be included in the Bundle. |
![]() | IncludeDirectory(String, String) | Includes all files in a directory that match a search pattern. |
![]() | IncludeDirectory(String, String, Boolean) | Includes all files in a directory that match a search pattern. |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |
![]() | UpdateCache | Updates the cache with the specified bundle response. |
Show:
.gif?cs-save-lang=1&cs-lang=cpp)
.gif?cs-save-lang=1&cs-lang=cpp)
.gif?cs-save-lang=1&cs-lang=cpp)