SolutionServices.GetRequiredLanguageService<TLanguageService> 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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