Udostępnij za pośrednictwem


SolutionServices Class

Definition

Per solution services provided by the host environment.

public sealed class SolutionServices
type SolutionServices = class
Public NotInheritable Class SolutionServices
Inheritance
SolutionServices

Properties

SupportedLanguages

A list of language names for supported language services.

Methods

GetLanguageServices(String)

Gets the LanguageServices for the language name.

GetRequiredLanguageService<TLanguageService>(String)
GetRequiredService<TWorkspaceService>()

Gets a workspace specific service provided by the host identified by the service type. If the host does not provide the service, this method throws InvalidOperationException.

GetService<TWorkspaceService>()

Gets a workspace specific service provided by the host identified by the service type. If the host does not provide the service, this method returns null.

IsSupported(String)

Returns true if the language is supported.

Applies to