/Katmai_June2008_RC0/ServiceBrokerInterface/cs/ServiceBrokerInterface/Properties/Settings.cs
C# | 38 lines | 23 code | 6 blank | 9 comment | 4 complexity | 653ce4a64c4663b2b787787b6424cb68 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 Microsoft.SqlServer.Broker.Properties { 12 13 14 sealed partial class Settings : System.Configuration.ApplicationSettingsBase { 15 16 private static Settings m_Value; 17 18 private static object m_SyncObject = new object(); 19 20 [System.Diagnostics.DebuggerNonUserCode()] 21 public static Settings Value { 22 get { 23 if ((Settings.m_Value == null)) { 24 System.Threading.Monitor.Enter(Settings.m_SyncObject); 25 if ((Settings.m_Value == null)) { 26 try { 27 Settings.m_Value = new Settings(); 28 } 29 finally { 30 System.Threading.Monitor.Exit(Settings.m_SyncObject); 31 } 32 } 33 } 34 return Settings.m_Value; 35 } 36 } 37 } 38}