다음을 통해 공유


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

자산과 연결된 매니페스트입니다.

반환

적용 대상