Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagec#
  public AntonyCommandInfo ActionInfo => new AntonyCommandInfoBuilder()
      .WithDisplayName("My static or dynamic displayname"")
      .WithGeneralPageName()
      .WithGroupName("My RibbonBar Groupname (if provided)")
      .WithSvgImage(Resources.my_image_as_svg)
      .Build();

Reporter

antony passes an IProgressReporter to report progress to. It is a mix of creating a protocol and logging. If you use the “Report…” Methods this will be displayed to the AntUser. If you use the “Log…” methods this will only write into the log files.

These interface is only implemented in the AntonyHub. The AntonyGroupware Commands will get a Reporter which reports to log file.

Conclusion

Its not difficult to add a command to antony. As we use the same classes within alle commands, it should be easy to reuse them.