Unofficial Content
  • This documentation is valid for:

using Artech.Architecture.Common.Services;

IOutputService output = CommonServices.Output;
output.Clear();
output.StartSection("My section");
output.AddLine("Sending a message to output window");
output.EndSection("My section", result);

bool result indicates if the section ended successfully.

Also messages can be retrieved from the "General" output as follows:

CommonServices.Output.AddListener(myoutput);

Or if a particular output needs to be listened, as follows:

CommonServices.Output.AddListener("Build", myoutput);

Note: Listening from a particular output is supported since Ev1 Upgrade 2.

The class of the myoutput variable must implement the IOutputTarget or IMultiOutputTarget, interfaces.

Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant