Example #1
0
    /// <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();
    }
Example #2
0
    /// <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();
    }