Пример #1
0
 /// <summary>
 /// Disables an add-in.
 /// </summary>
 /// <param name="id">
 /// Identifier of the add-in.
 /// </param>
 /// <remarks>
 /// When an add-in is disabled, all extension points it defines will be ignored
 /// by the add-in engine. Other add-ins which depend on the disabled add-in will
 /// also automatically be disabled.
 /// </remarks>
 public void DisableAddin(string id)
 {
     if (currentDomain == AddinDatabase.UnknownDomain)
     {
         return;
     }
     database.DisableAddin(currentDomain, id);
 }
Пример #2
0
 public void DisableAddin(string id)
 {
     database.DisableAddin(currentDomain, id);
 }
Пример #3
0
 public void DisableAddin(string id)
 {
     database.DisableAddin(id);
 }