다음을 통해 공유


IViewLocationExpander.ExpandViewLocations 메서드

정의

에 의해 RazorViewEngine 호출되어 보기의 잠재적 위치를 확인합니다.

public:
 System::Collections::Generic::IEnumerable<System::String ^> ^ ExpandViewLocations(Microsoft::AspNetCore::Mvc::Razor::ViewLocationExpanderContext ^ context, System::Collections::Generic::IEnumerable<System::String ^> ^ viewLocations);
public System.Collections.Generic.IEnumerable<string> ExpandViewLocations (Microsoft.AspNetCore.Mvc.Razor.ViewLocationExpanderContext context, System.Collections.Generic.IEnumerable<string> viewLocations);
abstract member ExpandViewLocations : Microsoft.AspNetCore.Mvc.Razor.ViewLocationExpanderContext * seq<string> -> seq<string>
Public Function ExpandViewLocations (context As ViewLocationExpanderContext, viewLocations As IEnumerable(Of String)) As IEnumerable(Of String)

매개 변수

context
ViewLocationExpanderContext

ViewLocationExpanderContext 현재 보기 위치 확장 작업에 대한 입니다.

viewLocations
IEnumerable<String>

확장할 보기 위치의 시퀀스입니다.

반환

확장된 보기 위치 목록입니다.

적용 대상