PageActionEndpointConventionBuilderResourceCollectionExtensions.WithStaticAssets Methode

Definition

Fügt den Endpunkten eine ResourceAssetCollection Metadateninstanz hinzu.

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

Parameter

manifestPath
String

Das Manifest, das den Ressourcen zugeordnet ist.

Gibt zurück

Gilt für: