added samples
[windows-sources.git] / sdk / samples / FrameworkSamples / NCL / AspxHost / cs / aspxhostcs / properties / settings.cs
blob90bb1c80185559e140869bea6d85e4c80812c614
1 //------------------------------------------------------------------------------
2 // <autogenerated>
3 // This code was generated by a tool.
4 // Runtime Version:2.0.40607.16
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 Microsoft.Samples.AspxHostCS.Properties {
14 sealed partial class Settings : System.Configuration.ApplicationSettingsBase {
16 private static Settings m_Value;
18 private static object m_SyncObject = new object();
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();
29 finally {
30 System.Threading.Monitor.Exit(Settings.m_SyncObject);
34 return Settings.m_Value;