共用方式為


SolutionServices.GetRequiredLanguageService<TLanguageService> 方法

定義

public TLanguageService GetRequiredLanguageService<TLanguageService> (string language) where TLanguageService : Microsoft.CodeAnalysis.Host.ILanguageService;
member this.GetRequiredLanguageService : string -> 'LanguageService (requires 'LanguageService :> Microsoft.CodeAnalysis.Host.ILanguageService)
Public Function GetRequiredLanguageService(Of TLanguageService As ILanguageService) (language As String) As TLanguageService

類型參數

TLanguageService

參數

language
String

傳回

TLanguageService

適用於