Emoji.Intellisense.CommandFilter.Complete C# (CSharp) Метод

Complete() приватный Метод

Auto-complete text using the specified token
private Complete ( bool force ) : bool
force bool
Результат bool
        bool Complete(bool force)
        {
            if (_currentSession == null)
                return false;

            if (!_currentSession.SelectedCompletionSet.SelectionStatus.IsSelected && !force)
            {
                _currentSession.Dismiss();
                return false;
            }
            else
            {
                _currentSession.Commit();
                return true;
            }
        }