Delen via


ILanguageServiceFactory.CreateLanguageService(HostLanguageServices) Method

Definition

Creates a new ILanguageService instance.

public:
 Microsoft::CodeAnalysis::Host::ILanguageService ^ CreateLanguageService(Microsoft::CodeAnalysis::Host::HostLanguageServices ^ languageServices);
public Microsoft.CodeAnalysis.Host.ILanguageService CreateLanguageService (Microsoft.CodeAnalysis.Host.HostLanguageServices languageServices);
abstract member CreateLanguageService : Microsoft.CodeAnalysis.Host.HostLanguageServices -> Microsoft.CodeAnalysis.Host.ILanguageService
Public Function CreateLanguageService (languageServices As HostLanguageServices) As ILanguageService

Parameters

languageServices
HostLanguageServices

The HostLanguageServices that can be used to access other services.

Returns

Applies to