/// <summary> /// The spell-checker COM server will call back this method /// when it detects any changes to the spell-checker. Typically, /// this would indicated that the spell-checking needs to be /// re-done (for e.g., a new dictionary is registered). /// </summary> /// <param name="sender"></param> public void Invoke(ISpellChecker sender) { if (sender == _spellChecker?._speller?.Value) { _spellChecker?.OnChanged(_eventArgs); } }
// Token: 0x060086BE RID: 34494 RVA: 0x0024E7D0 File Offset: 0x0024C9D0 public void Invoke(RCW.ISpellChecker sender) { SpellChecker spellChecker = this._spellChecker; RCW.ISpellChecker spellChecker2; if (spellChecker == null) { spellChecker2 = null; } else { ChangeNotifyWrapper <RCW.ISpellChecker> speller = spellChecker._speller; spellChecker2 = ((speller != null) ? speller.Value : null); } if (sender == spellChecker2) { SpellChecker spellChecker3 = this._spellChecker; if (spellChecker3 == null) { return; } spellChecker3.OnChanged(this._eventArgs); } }