/// <summary> /// Registers the editor drawer handler. /// </summary> /// <param name="id">Unique ID.</param> /// <param name="handler">Drawer handler.</param> /// <param name="attribute">Drawer attribute.</param> /// <remarks> /// NOTE: Consider to implement the <see cref="ModuleDrawer"/> instead. /// Dynamic registration is not recommended for standard scenarios. /// <include file='doc.xml' path='doc/RegisterModule/*'/> /// </remarks> public abstract IModuleDrawer RegisterModuleDrawer(Guid id, ModuleDrawerAttribute attribute, Action <IEditor, ModuleDrawerEventArgs> handler);
/// <summary> /// Registers the editor drawer handler. /// </summary> /// <param name="id">Unique ID.</param> /// <param name="handler">Drawer handler.</param> /// <param name="attribute">Drawer attribute.</param> /// <remarks> /// NOTE: Consider to implement the <see cref="ModuleDrawer"/> instead. /// Dynamic registration is not recommended for standard scenarios. /// <include file='doc.xml' path='doc/RegisterModule/*'/> /// </remarks> public abstract IModuleDrawer RegisterModuleDrawer(Guid id, ModuleDrawerAttribute attribute, EventHandler<ModuleDrawerEventArgs> handler);