Udostępnij za pośrednictwem


PageActionEndpointConventionBuilderResourceCollectionExtensions.WithStaticAssets Metoda

Definicja

Dodaje wystąpienie metadanych ResourceAssetCollection do punktów końcowych.

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

Parametry

manifestPath
String

Manifest skojarzony z elementami zawartości.

Zwraca

Dotyczy