internal void CheckInitialized()
{
if (!initialized)
throw new InvalidOperationException ("Add-in engine not initialized.");
}
/// <summary> /// Unregister a listener of extension node changes. /// </summary> /// <param name="path"> /// Path of the node. /// </param> /// <param name="handler"> /// A handler method. /// </param> /// <remarks> /// This method unregisters a delegate from the node change event of a path. /// </remarks> public static void RemoveExtensionNodeHandler(string path, ExtensionNodeEventHandler handler) { AddinEngine.CheckInitialized(); AddinEngine.RemoveExtensionNodeHandler(path, handler); }