Exemplo n.º 1
0
        /// <summary>
        /// Saves the ternay index for the currently selected language.
        /// </summary>
        private void SaveTernaryIndex()
        {
            string indexPath = CommonFiles.TernaryIndex(LanguageId);
            var io = new IndexIO();

            io.SaveIndex(indexPath, TernaryIndex);
        }
Exemplo n.º 2
0
        /// <summary>
        /// Loads the ternay index for the currently selected language.
        /// </summary>
        private void LoadTernaryIndex()
        {
            string indexPath = CommonFiles.TernaryIndex(LanguageId);
            var io = new IndexIO();

            TernaryIndex = io.LoadIndex(indexPath);
        }