Click or drag to resize

ServiceLayer Class



The layer of an exported service. If there are multiple definitions of a service, the ServiceLayer is used to determine which is used.
Inheritance Hierarchy
SystemObject
  Microsoft.CodeAnalysis.Host.MefServiceLayer

Namespace:  Microsoft.CodeAnalysis.Host.Mef
Assembly:  Microsoft.CodeAnalysis.Workspaces (in Microsoft.CodeAnalysis.Workspaces.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public static class ServiceLayer

The ServiceLayer type exposes the following members.

Fields
  NameDescription
Public fieldStatic memberDefault
The base service layer.
Public fieldStatic memberDesktop
Service layer that overrides Default.
Public fieldStatic memberEditor
Service layer that overrides Desktop and Default.
Public fieldStatic memberHost
Service layer that overrides Editor, Desktop and Default.
Top
See Also