Compartir a través de


DynamicFolderBundle Class

Represents a Bundle object that ASP.NET creates from a folder that contains files of the same type.

Inheritance Hierarchy

System.Object
  System.Web.Optimization.Bundle
    System.Web.Optimization.DynamicFolderBundle

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

Syntax

'Declaration
Public Class DynamicFolderBundle _
    Inherits Bundle
'Usage
Dim instance As DynamicFolderBundle
public class DynamicFolderBundle : Bundle
public ref class DynamicFolderBundle : public Bundle
type DynamicFolderBundle =  
    class 
        inherit Bundle 
    end
public class DynamicFolderBundle extends Bundle

The DynamicFolderBundle type exposes the following members.

Constructors

  Name Description
Public method DynamicFolderBundle(String, String) Initializes a new instance of the DynamicFolderBundle class.
Public method DynamicFolderBundle(String, String, Boolean) Initializes a new instance of the DynamicFolderBundle class.
Public method DynamicFolderBundle(String, String, IBundleTransform[]) Initializes a new instance of the DynamicFolderBundle class.
Public method DynamicFolderBundle(String, String, Boolean, IBundleTransform[]) Initializes a new instance of the DynamicFolderBundle class.

Top

Properties

  Name Description
Public property Builder Gets the object used to build the bundle content from the individual files included in the Bundle object. (Inherited from Bundle.)
Public property CdnFallbackExpression Gets the script expression rendered by the Scripts helper class to reference the local bundle file if the CDN is unavailable. (Inherited from Bundle.)
Public property CdnPath Gets or set the path of a Content Delivery Network (CDN) that contains the folder bundle.
Public property ConcatenationToken Gets the token inserted between bundled files to ensure that the final bundle content is valid. (Inherited from Bundle.)
Public property EnableFileExtensionReplacements Gets a value that specifies whether to use the FileExtensionReplacementList. (Inherited from Bundle.)
Public property Orderer Gets a value that determines the order of files in a bundle. (Inherited from Bundle.)
Public property Path Gets the virtual path used to reference the Bundle from within a view or Web page. (Inherited from Bundle.)
Public property SearchPattern Gets or sets the search pattern for the folder bundle.
Public property SearchSubdirectories Gets or sets whether the search pattern is applied to subdirectories.
Public property Transforms Gets the transforms which process the contents of a bundle. (Inherited from Bundle.)

Top

Methods

  Name Description
Public method ApplyTransforms Applies the transforms to the bundle. (Inherited from Bundle.)
Public method CacheLookup Overrides this to implement own caching logic. (Inherited from Bundle.)
Public method EnumerateFiles Returns all the base methods files and any dynamic files found in the requested directory. (Overrides Bundle.EnumerateFiles(BundleContext).)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GenerateBundleResponse Processes the bundle request to generate the response. (Inherited from Bundle.)
Public method GetCacheKey Gets the cache key for the specified bundle context. (Inherited from Bundle.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Include(String[]) Specifies a set of files to be included in the Bundle. (Inherited from Bundle.)
Public method Include(String, IItemTransform[]) Specifies a set of files to be included in the Bundle. (Inherited from Bundle.)
Public method IncludeDirectory(String, String) Includes all files in a directory that match a search pattern. (Inherited from Bundle.)
Public method IncludeDirectory(String, String, Boolean) Includes all files in a directory that match a search pattern. (Inherited from Bundle.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Public method UpdateCache Updates the cache with the specified bundle response. (Inherited from Bundle.)

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