-
Notifications
You must be signed in to change notification settings - Fork 4k
/
ServiceLayer.cs
41 lines (35 loc) · 1.41 KB
/
ServiceLayer.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
namespace Microsoft.CodeAnalysis.Host.Mef
{
/// <summary>
/// The layer of an exported service.
///
/// If there are multiple definitions of a service, the <see cref="ServiceLayer"/> is used to determine which is used.
/// </summary>
public static class ServiceLayer
{
/// <summary>
/// Service layer that overrides <see cref="Editor"/>, <see cref="Desktop"/> and <see cref="Default"/>.
/// </summary>
internal const string Test = nameof(Test);
/// <summary>
/// Service layer that overrides <see cref="Editor"/>, <see cref="Desktop"/> and <see cref="Default"/>.
/// </summary>
public const string Host = nameof(Host);
/// <summary>
/// Service layer that overrides <see cref="Desktop" /> and <see cref="Default"/>.
/// </summary>
public const string Editor = nameof(Editor);
/// <summary>
/// Service layer that overrides <see cref="Default"/>.
/// </summary>
public const string Desktop = nameof(Desktop);
/// <summary>
/// The base service layer.
/// </summary>
public const string Default = nameof(Default);
}
}