次の方法で共有


ExportWorkspaceServiceAttribute(Type, String) コンストラクター

定義

MEF ベースの IWorkspaceService ワークスペースに含める実装を宣言します。

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

パラメーター

serviceType
Type

から HostWorkspaceServicesサービスを取得するために使用される型。

layer
String

サービスが指定されているレイヤー。 Defaultなど。

適用対象