UpdateWordform() public method

public UpdateWordform ( IWfiWordform wordform, ParserPriority priority ) : void
wordform IWfiWordform
priority ParserPriority
return void
Example #1
0
        /// <summary>
        /// Send the newly selected wordform on to the parser.
        /// </summary>
        public void OnPropertyChanged(string propertyName)
        {
            CheckDisposed();

            if (m_parserConnection != null && propertyName == "ActiveClerkSelectedObject")
            {
                var wordform = m_propertyTable.GetValue <ICmObject>(propertyName) as IWfiWordform;
                if (wordform != null)
                {
                    m_parserConnection.UpdateWordform(wordform, ParserPriority.High);
                }
            }
        }