main
cs 41 lines 1.08 KB
Raw
1 // Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2
3 namespace WixToolset.Extensibility.Data
4 {
5 /// <summary>
6 /// Extension cache location scope.
7 /// </summary>
8 public enum ExtensionCacheLocationScope
9 {
10 /// <summary>
11 /// Project extension cache location.
12 /// </summary>
13 Project,
14
15 /// <summary>
16 /// User extension cache location.
17 /// </summary>
18 User,
19
20 /// <summary>
21 /// Machine extension cache location.
22 /// </summary>
23 Machine,
24 }
25
26 /// <summary>
27 /// Location where extensions may be cached.
28 /// </summary>
29 public interface IExtensionCacheLocation
30 {
31 /// <summary>
32 /// Path for the extension cache location.
33 /// </summary>
34 string Path { get; }
35
36 /// <summary>
37 /// Scope for the extension cache location.
38 /// </summary>
39 ExtensionCacheLocationScope Scope { get; }
40 }
41 }