Click here to Skip to main content
15,892,809 members
Articles / Programming Languages / C#

Microsoft Windows Workflow Foundation

Rate me:
Please Sign up or sign in to vote.
5.00/5 (9 votes)
31 Aug 2009CPOL12 min read 74.4K   1.6K   52  
An artilce that explains how to call external data and methods.
//------------------------------------------------------------------------------
// <autogenerated>
//     This code was generated by a tool.
//     Runtime Version:2.0.50727.42
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </autogenerated>
//------------------------------------------------------------------------------

namespace Workflow2 {
    
    
    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;
            }
        }       
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer Monroe Community
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions