Widow – Diff between revs 19 and 23
?pathlinks?
Rev 19 | Rev 23 | |||
---|---|---|---|---|
Line -... | Line 1... | |||
- | 1 | using System; |
||
- | 2 | using System.IO; |
||
1 | using System.Reflection; |
3 | using System.Reflection; |
|
2 | using System.Runtime.InteropServices; |
4 | using System.Runtime.InteropServices; |
|
Line 3... | Line 5... | |||
3 | |
5 | |
|
4 | namespace Widow |
6 | namespace Widow |
|
5 | { |
7 | { |
|
Line 13... | Line 15... | |||
13 | |
15 | |
|
14 | public static readonly string AssemblyGuid = |
16 | public static readonly string AssemblyGuid = |
|
Line 15... | Line 17... | |||
15 | ((GuidAttribute) Assembly.GetEntryAssembly().GetCustomAttributes(typeof(GuidAttribute), true)[0]).Value; |
17 | ((GuidAttribute) Assembly.GetEntryAssembly().GetCustomAttributes(typeof(GuidAttribute), true)[0]).Value; |
|
- | 18 | |
||
- | 19 | #endregion |
||
- | 20 | |
||
- | 21 | #region Public Enums, Properties and Fields |
||
- | 22 | |
||
- | 23 | public static string WindowsSettingsFile => Path.Combine(UserApplicationDirectory, @"Windows.xml"); |
||
- | 24 | |
||
- | 25 | #endregion |
||
- | 26 | |
||
- | 27 | #region Private Delegates, Events, Enums, Properties, Indexers and Fields |
||
- | 28 | |
||
- | 29 | private static string UserApplicationDirectory => Path.Combine( |
||
- | 30 | Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments), @"Wizardry and Steamworks", @"Widow"); |
||
16 | |
31 | |
|
17 | #endregion |
32 | #endregion |
|
18 | } |
33 | } |