/Katmai_Trunk/ShoppingCart/ShoppingCartClient/CS/ShoppingCartClient/Properties/Settings.cs
C# | 39 lines | 24 code | 6 blank | 9 comment | 4 complexity | cc3ecb77b11a091d1d2d8b9e0b19e2c0 MD5 | raw file
1//------------------------------------------------------------------------------ 2// <autogenerated> 3// This code was generated by a tool. 4// Runtime Version:2.0.40603.0 5// 6// Changes to this file may cause incorrect behavior and will be lost if 7// the code is regenerated. 8// </autogenerated> 9//------------------------------------------------------------------------------ 10 11namespace Properties { 12 13 14 [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1812:AvoidUninstantiatedInternalClasses")] 15 sealed partial class Settings : System.Configuration.ApplicationSettingsBase { 16 17 private static Settings m_Value; 18 19 private static object m_SyncObject = new object(); 20 21 [System.Diagnostics.DebuggerNonUserCode()] 22 public static Settings Value { 23 get { 24 if ((Settings.m_Value == null)) { 25 System.Threading.Monitor.Enter(Settings.m_SyncObject); 26 if ((Settings.m_Value == null)) { 27 try { 28 Settings.m_Value = new Settings(); 29 } 30 finally { 31 System.Threading.Monitor.Exit(Settings.m_SyncObject); 32 } 33 } 34 } 35 return Settings.m_Value; 36 } 37 } 38 } 39}