Exemple #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();
    }
Exemple #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();
    }
Exemple #3
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();
    }
Exemple #4
0
 /// <summary>
 /// PreInitializes the system.
 /// </summary>
 public static void PreInit()
 {
     CMSModuleLoader.PreInitializeModules();
 }