다음을 통해 공유


ExportWorkspaceServiceFactoryAttribute(Type, String) 생성자

정의

IWorkspaceServiceFactory MEF 기반 작업 영역에 포함할 구현을 선언합니다.

public ExportWorkspaceServiceFactoryAttribute (Type serviceType, string layer = "Default");
new Microsoft.CodeAnalysis.Host.Mef.ExportWorkspaceServiceFactoryAttribute : Type * string -> Microsoft.CodeAnalysis.Host.Mef.ExportWorkspaceServiceFactoryAttribute
Public Sub New (serviceType As Type, Optional layer As String = "Default")

매개 변수

serviceType
Type

에서 서비스를 검색하는 데 사용할 형식입니다 HostWorkspaceServices.

layer
String

서비스가 지정된 계층 또는 작업 영역 종류입니다. Default, MiscellaneousFiles

적용 대상