/// <summary> /// Initializes the system. /// </summary> public static void Init() { // Init CMS environment CMSContext.Init(mAsyncInit); // Register the events RegisterEvents(); // Register module methods and transformation methods to macro resolver CMSModuleLoader loader = new CMSModuleLoader(); loader.RegisterTransformationMethods(); MacroMethods.RegisterMethods(); CMSMacroMethods.RegisterMethods(); }
/// <summary> /// Initializes the system. /// </summary> public static void Init() { // Init CMS environment CMSContext.Init(mAsyncInit); // Register the events RegisterEvents(); // Register module methods and transformation methods to macro resolver CMSModuleLoader.InitializeModules(); MacroMethods.RegisterMethods(); CMSMacroMethods.RegisterMethods(); TransformationMacroMethods.RegisterMethods(); Functions.RegisterUniGridTransformations(); }