Partager via


IBundleOrderer.OrderFiles Method

Orders the files within a bundle.

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

Syntax

'Declaration
Function OrderFiles ( _
    context As BundleContext, _
    files As IEnumerable(Of BundleFile) _
) As IEnumerable(Of BundleFile)
'Usage
Dim instance As IBundleOrderer 
Dim context As BundleContext 
Dim files As IEnumerable(Of BundleFile)
Dim returnValue As IEnumerable(Of BundleFile)

returnValue = instance.OrderFiles(context, _
    files)
IEnumerable<BundleFile> OrderFiles(
    BundleContext context,
    IEnumerable<BundleFile> files
)
IEnumerable<BundleFile^>^ OrderFiles(
    BundleContext^ context, 
    IEnumerable<BundleFile^>^ files
)
abstract OrderFiles : 
        context:BundleContext * 
        files:IEnumerable<BundleFile> -> IEnumerable<BundleFile> 
function OrderFiles(
    context : BundleContext, 
    files : IEnumerable<BundleFile>
) : IEnumerable<BundleFile>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<BundleFile>
An ordered enumeration of VirtualFile objects.

See Also

Reference

IBundleOrderer Interface

System.Web.Optimization Namespace