コード例 #1
0
        public static SqlCodeAssistManager GetInstance()
        {
            if (_singleton == null)
            {
                _singleton = new SqlCodeAssistManager();
            }

            return(_singleton);
        }
コード例 #2
0
        public SqlCodeAssistProvider()
        {
            _codeAssistManager    = CodeAssistManager.GetInstance();
            _sqlCodeAssistManager = SqlCodeAssistManager.GetInstance();
            _sqlConnectionManager = SqlConnectionManager.GetInstance();

            _sqlConnectionManager.ConnectionChange +=
                new MessageHandler(ConnectionChanged);
        }