added samples
[windows-sources.git] / sdk / samples / WPFSamples / HostingWfInWpfWithXaml / csharp / hostingwfinwpf / properties / settings.cs
blobe9ae6a42deafa0a2f9f216dff70a6c04330f52dc
1 //------------------------------------------------------------------------------
2 // <autogenerated>
3 // This code was generated by a tool.
4 // Runtime Version:2.0.50215.322
5 //
6 // Changes to this file may cause incorrect behavior and will be lost if
7 // the code is regenerated.
8 // </autogenerated>
9 //------------------------------------------------------------------------------
11 namespace HostingWfInWpf.Properties
13 public partial class Settings : System.Configuration.ApplicationSettingsBase
15 private static Settings m_Value;
17 private static object m_SyncObject = new object();
19 public static Settings Value
21 get
23 if ((Settings.m_Value == null))
25 System.Threading.Monitor.Enter(Settings.m_SyncObject);
26 if ((Settings.m_Value == null))
28 try
30 Settings.m_Value = new Settings();
32 finally
34 System.Threading.Monitor.Exit(Settings.m_SyncObject);
38 return Settings.m_Value;