BundleResolver Class
Represents a class that determine if a script reference is a bundle, and what it contains to prevent duplicate script references.
Inheritance Hierarchy
System.Object
System.Web.Optimization.BundleResolver
Namespace: System.Web.Optimization
Assembly: System.Web.Optimization (in System.Web.Optimization.dll)
Syntax
'Declaration
Public Class BundleResolver _
Implements IBundleResolver
'Usage
Dim instance As BundleResolver
public class BundleResolver : IBundleResolver
public ref class BundleResolver : IBundleResolver
type BundleResolver =
class
interface IBundleResolver
end
public class BundleResolver implements IBundleResolver
The BundleResolver type exposes the following members.
Constructors
Name | Description | |
---|---|---|
BundleResolver() | Initializes a new instance of the BundleResolver class. | |
BundleResolver(BundleCollection) | Initializes a new instance of the BundleResolver class with the specified bundle. | |
BundleResolver(BundleCollection, HttpContextBase) | Initializes a new instance of the BundleResolver class with the specified bundle and context. |
Top
Properties
Name | Description | |
---|---|---|
Current | Gets or sets the ScriptManager that reflects against Current. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetBundleContents | Returns an enumeration of actual file paths to the contents of the bundle. | |
GetBundleUrl | Gets the versioned url for the bundle or returns the virtualPath unchanged if it does not point to a bundle. | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
IsBundleVirtualPath | Determines if the virtualPath is to a bundle. | |
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.