Ares ARES commander provide .NET API to author third party Plugin Software for ARES Commander.
...
- Add references from Solution Explore of TD_Mgd_x.xx_xx*.dll and FxCoreMgd_x.xx_xx.dll by Browsing ARES installation folder.
- Developer can see available NameSpaces,Classes,Methods, Properties in each assembly using Object Browser
- Rename Class1.cs tp PluginCommands.cs it will change class Class1 to class PluginCommands like below.
- Defining a command use Teigha.Runtime namespace to access CommandMethod method atrribute as below and add a method i.e AnyFunctionName having this attribute. It define MySampleCommand command which can be executed on ARES Commandline.
- The above procedure is similar to all type of in-process plugn.
- Build the sample project is will generate PluginCommans.dll or <YourProjectName.dll>
- Run ARES and type NETLOAD on command line it will prompt to load the plugin dll, browse PluginCommands.dll and Load, message of successful loading will appear on command line.
- Run MySampleCommand AnyFunctionName method will be executed.