Partager via


PageActionEndpointConventionBuilderResourceCollectionExtensions.WithStaticAssets Méthode

Définition

Ajoute une instance de métadonnées ResourceAssetCollection aux points de terminaison.

public static Microsoft.AspNetCore.Builder.PageActionEndpointConventionBuilder WithStaticAssets (this Microsoft.AspNetCore.Builder.PageActionEndpointConventionBuilder builder, string? manifestPath = default);
static member WithStaticAssets : Microsoft.AspNetCore.Builder.PageActionEndpointConventionBuilder * string -> Microsoft.AspNetCore.Builder.PageActionEndpointConventionBuilder
<Extension()>
Public Function WithStaticAssets (builder As PageActionEndpointConventionBuilder, Optional manifestPath As String = Nothing) As PageActionEndpointConventionBuilder

Paramètres

manifestPath
String

Manifeste associé aux ressources.

Retours

S’applique à