共用方式為


HostWorkspaceServices.FindLanguageServices<TLanguageService> Method

Definition

Finds all language services of the corresponding type across all supported languages that match the filter criteria.

public:
generic <typename TLanguageService>
 abstract System::Collections::Generic::IEnumerable<TLanguageService> ^ FindLanguageServices(Microsoft::CodeAnalysis::Host::HostWorkspaceServices::MetadataFilter ^ filter);
public abstract System.Collections.Generic.IEnumerable<TLanguageService> FindLanguageServices<TLanguageService> (Microsoft.CodeAnalysis.Host.HostWorkspaceServices.MetadataFilter filter);
abstract member FindLanguageServices : Microsoft.CodeAnalysis.Host.HostWorkspaceServices.MetadataFilter -> seq<'LanguageService>
Public MustOverride Function FindLanguageServices(Of TLanguageService) (filter As HostWorkspaceServices.MetadataFilter) As IEnumerable(Of TLanguageService)

Type Parameters

TLanguageService

Parameters

Returns

IEnumerable<TLanguageService>

Applies to