Widow – Diff between revs 19 and 23

Subversion Repositories:
Rev:
Only display areas with differencesIgnore whitespace
Rev 19 Rev 23
-   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;
3   5  
4 namespace Widow 6 namespace Widow
5 { 7 {
6 public static class Constants 8 public static class Constants
7 { 9 {
8 #region Static Fields and Constants 10 #region Static Fields and Constants
9   11  
10 public static readonly string AssemblyName = Assembly.GetEntryAssembly().GetName().Name; 12 public static readonly string AssemblyName = Assembly.GetEntryAssembly().GetName().Name;
11   13  
12 public static readonly string AssemblyVersion = Assembly.GetEntryAssembly().GetName().Version.ToString(); 14 public static readonly string AssemblyVersion = Assembly.GetEntryAssembly().GetName().Version.ToString();
13   15  
14 public static readonly string AssemblyGuid = 16 public static readonly string AssemblyGuid =
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 }
19 } 34 }
20   35  
21
Generated by GNU Enscript 1.6.5.90.
36
Generated by GNU Enscript 1.6.5.90.
22   37  
23   38  
24   39