-
Notifications
You must be signed in to change notification settings - Fork 382
/
Copy pathIPathInfo.cs
38 lines (34 loc) · 1.47 KB
/
IPathInfo.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
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace Microsoft.TemplateEngine.Abstractions
{
/// <summary>
/// Contains common folder paths used by TemplateEngine.
/// </summary>
public interface IPathInfo
{
/// <summary>
/// The user profile folder.
/// E.g: "/home/userName/" on Unix and "C:\Users\userName\" on Windows.
/// </summary>
string UserProfileDir { get; }
/// <summary>
/// Gets the path of template engine global settings directory.
/// The directory should be used for settings shared between all template engine hosts.
/// Usually at "C:\Users\userName\.templateengine\".
/// </summary>
string GlobalSettingsDir { get; }
/// <summary>
/// Gets the path of template engine host settings directory.
/// The directory should be used for settings shared between all template engine host versions.
/// E.g.: "C:\Users\userName\.templateengine\dotnet\".
/// </summary>
string HostSettingsDir { get; }
/// <summary>
/// Gets the path of template engine host version settings directory.
/// The directory should be used for settings specific to certain host version.
/// E.g.: "C:\Users\userName\.templateengine\dotnet\v1.0.0.0\".
/// </summary>
string HostVersionSettingsDir { get; }
}
}