Unofficial Content
  • This documentation is valid for:

GxModel gxModel = m_kbserv.CurrentKB.WorkingModel.GetAs<GxModel>();
foreach (Artech.Genexus.Common.Entities.GxEnvironment env in gxModel.Environments)
{
      Artech.Genexus.Common.ModelParts.GeneratorDefinition generatorDefinition = Artech.Genexus.Common.ModelParts.ModelDefinitionsManager.GetGeneratorDefinition(env.Generator);
      string friendlyName = (generatorDefinition != null) ? generatorDefinition.FriendlyName : String.Empty;
      MessageBox.Show(friendlyName);
}

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