コード例 #1
0
ファイル: Module.cs プロジェクト: MoonDav/FarNet
 /// <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);
コード例 #2
0
ファイル: Module.cs プロジェクト: pezipink/FarNet
 /// <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);