示例#1
0
        /// <summary>
        /// Obtain references to ConfigData singleton, construct DBConnect instance
        /// </summary>
        internal Daemon()
        {
            // Get reference to ConfigData singleton
            this.configData = ConfigData.Instance;

            // New DBConnect instance for talking to DB
            this.dbConnect = new DBConnect();
        }
        /// <summary>
        /// Default Constructor.
        /// </summary>
        internal PostDaemonService()
        {
            InitializeComponent();

            this.configData = ConfigData.Instance;
        }