diff options
Diffstat (limited to 'src/api/wix/WixToolset.Extensibility/Data/IExtensionCacheLocation.cs')
-rw-r--r-- | src/api/wix/WixToolset.Extensibility/Data/IExtensionCacheLocation.cs | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/src/api/wix/WixToolset.Extensibility/Data/IExtensionCacheLocation.cs b/src/api/wix/WixToolset.Extensibility/Data/IExtensionCacheLocation.cs new file mode 100644 index 00000000..53158875 --- /dev/null +++ b/src/api/wix/WixToolset.Extensibility/Data/IExtensionCacheLocation.cs | |||
@@ -0,0 +1,41 @@ | |||
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 | } | ||