www.pudn.com > wxwinter2.rar > Settings.cs


//------------------------------------------------------------------------------ 
//  
//     This code was generated by a tool. 
//     Runtime Version:2.0.50727.1378 
// 
//     Changes to this file may cause incorrect behavior and will be lost if 
//     the code is regenerated. 
//  
//------------------------------------------------------------------------------ 
 
namespace wxwinter.wf.ExchangeServer { 
     
     
    public partial class Settings : System.Configuration.ApplicationSettingsBase { 
         
        private static Settings defaultInstance; 
         
        private static object syncObject = new object(); 
         
        public static Settings DefaultInstance { 
            get { 
                if ((Settings.defaultInstance == null)) { 
                    System.Threading.Monitor.Enter(Settings.syncObject); 
                    if ((Settings.defaultInstance == null)) { 
                        try { 
                            Settings.defaultInstance = new Settings(); 
                        } 
                        finally { 
                            System.Threading.Monitor.Exit(Settings.syncObject); 
                        } 
                    } 
                } 
                return Settings.defaultInstance; 
            } 
        }        
    } 
}