PageRenderTime 46ms CodeModel.GetById 10ms RepoModel.GetById 1ms app.codeStats 0ms

/Katmai_October2009_Refresh3/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. namespace Microsoft.SqlServer.Broker.Properties {
  11. sealed partial class Settings : System.Configuration.ApplicationSettingsBase {
  12. private static Settings m_Value;
  13. private static object m_SyncObject = new object();
  14. [System.Diagnostics.DebuggerNonUserCode()]
  15. public static Settings Value {
  16. get {
  17. if ((Settings.m_Value == null)) {
  18. System.Threading.Monitor.Enter(Settings.m_SyncObject);
  19. if ((Settings.m_Value == null)) {
  20. try {
  21. Settings.m_Value = new Settings();
  22. }
  23. finally {
  24. System.Threading.Monitor.Exit(Settings.m_SyncObject);
  25. }
  26. }
  27. }
  28. return Settings.m_Value;
  29. }
  30. }
  31. }
  32. }