0 out of 1 rated this helpful - Rate this topic

StyleBundle Class

Represents a bundle that does CSS minification.

System.Object
  System.Web.Optimization.Bundle
    System.Web.Optimization.StyleBundle

Namespace:  System.Web.Optimization
Assembly:  System.Web.Optimization (in System.Web.Optimization.dll)
public class StyleBundle : Bundle

The StyleBundle type exposes the following members.

  NameDescription
Public methodStyleBundle(String)Initializes a new instance of the StyleBundle class with a virtual path for the bundle.
Public methodStyleBundle(String, String)Initializes a new instance of the StyleBundle class with virtual path and CDN path for the bundle.
Top
  NameDescription
Public propertyBuilderBuilds the bundle content from the individual files included in the Bundle object. (Inherited from Bundle.)
Public propertyCdnFallbackExpressionScript expression rendered by the Scripts helper class to reference the local bundle file if the CDN is unavailable. (Inherited from Bundle.)
Public propertyCdnPathGets or sets an alternate url for the bundle when it is stored in a content delivery network. (Inherited from Bundle.)
Public propertyConcatenationTokenThe token inserted between bundled files to ensure that the final bundle content is valid. (Inherited from Bundle.)
Public propertyEnableFileExtensionReplacementsSpecifies whether to use the FileExtensionReplacementList. (Inherited from Bundle.)
Public propertyOrdererDetermines the order of files in a bundle. (Inherited from Bundle.)
Public propertyPathVirtual path used to reference the Bundle from within a view or Web page. (Inherited from Bundle.)
Public propertyTransformsTransforms the contents of a bundle. (Inherited from Bundle.)
Top
  NameDescription
Public methodApplyTransformsApply the set of IBundleTransform objects to the bundle content. (Inherited from Bundle.)
Protected methodCacheLookupOverrides this to implement own caching logic. (Inherited from Bundle.)
Public methodEnumerateFilesGenerates an enumeration of VirtualFile objects that represent the contents of the bundle. (Inherited from Bundle.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGenerateBundleResponseProcesses the bundle request to generate the response. (Inherited from Bundle.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodIncludeSpecifies a set of files to be included in the Bundle. (Inherited from Bundle.)
Public methodIncludeDirectory(String, String)Includes all files in a directory that match a search pattern. (Inherited from Bundle.)
Public methodIncludeDirectory(String, String, Boolean)Includes all files in a directory that match a search pattern. (Inherited from Bundle.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.