/// <summary> /// Registers the tool handler invoked from one of Far menus. /// </summary> /// <param name="id">Unique ID.</param> /// <param name="handler">Tool handler.</param> /// <param name="attribute">Tool attribute.</param> /// <remarks> /// NOTE: Consider to implement the <see cref="ModuleTool"/> instead. /// Dynamic registration is not recommended for standard scenarios. /// <include file='doc.xml' path='doc/RegisterModule/*'/> /// </remarks> public abstract IModuleTool RegisterModuleTool(Guid id, ModuleToolAttribute attribute, EventHandler <ModuleToolEventArgs> handler);
/// <summary> /// Registers the tool handler invoked from one of Far menus. /// </summary> /// <param name="id">Unique ID.</param> /// <param name="handler">Tool handler.</param> /// <param name="attribute">Tool attribute.</param> /// <remarks> /// NOTE: Consider to implement the <see cref="ModuleTool"/> instead. /// Dynamic registration is not recommended for standard scenarios. /// <include file='doc.xml' path='doc/RegisterModule/*'/> /// </remarks> public abstract IModuleTool RegisterModuleTool(Guid id, ModuleToolAttribute attribute, EventHandler<ModuleToolEventArgs> handler);