Поделиться через


ControllerActionEndpointConventionBuilderResourceCollectionExtensions.WithStaticAssets Метод

Определение

Добавляет экземпляр метаданных ResourceAssetCollection в конечные точки.

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

Параметры

manifestPath
String

Манифест, связанный с ресурсами.

Возвращаемое значение

Применяется к