예제 #1
0
파일: Database.cs 프로젝트: arsaccol/SLED
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="taskQueue"></param>
        /// <param name="luaSyntaxLanguage"></param>
        /// <param name="broker"></param>
        public Database(TaskQueue taskQueue, LuatSyntaxLanguage luaSyntaxLanguage, ILuaIntellisenseBroker broker)
        {
            Instance = this;

            m_taskQueue = taskQueue;
            m_language = luaSyntaxLanguage;
            m_broker = broker;

            Status = new StatusImpl();
        }
예제 #2
0
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="taskQueue"></param>
        /// <param name="luaSyntaxLanguage"></param>
        /// <param name="broker"></param>
        public Database(TaskQueue taskQueue, LuatSyntaxLanguage luaSyntaxLanguage, ILuaIntellisenseBroker broker)
        {
            Instance = this;

            m_taskQueue = taskQueue;
            m_language  = luaSyntaxLanguage;
            m_broker    = broker;

            Status = new StatusImpl();
        }
예제 #3
0
        private LuaIntellisenseBroker()
        {
            TaskQueue = new TaskQueue();
            TaskQueue.Start();
            Application.ApplicationExit += (s, e) => TaskQueue.Stop();

            CustomLuaSyntaxLanguage = new LuatSyntaxLanguage(this);

            Database = new Database(TaskQueue, CustomLuaSyntaxLanguage, this);

            m_fauxControl = new FauxSyntaxEditorColorer(CustomLuaSyntaxLanguage);
            SkinService.SkinChangedOrApplied += SkinServiceSkinChangedOrApplied;
        }
예제 #4
0
        private LuaIntellisenseBroker()
        {
            TaskQueue = new TaskQueue();
            TaskQueue.Start();
            Application.ApplicationExit += (s, e) => TaskQueue.Stop();

            CustomLuaSyntaxLanguage = new LuatSyntaxLanguage(this);

            Database = new Database(TaskQueue, CustomLuaSyntaxLanguage, this);

            m_fauxControl = new FauxSyntaxEditorColorer(CustomLuaSyntaxLanguage);
            SkinService.SkinChangedOrApplied += SkinServiceSkinChangedOrApplied;
        }
예제 #5
0
 public FauxSyntaxEditorColorer(LuatSyntaxLanguage language)
 {
     m_language = language;
 }
예제 #6
0
 public FauxSyntaxEditorColorer(LuatSyntaxLanguage language)
 {
     m_language = language;
 }