Esempio n. 1
0
 public static void AddPagePreprocessor(string pageCode, PagePreprocessorHandler method)
 {
     if (!Values.PagePreProcessors.ContainsKey(pageCode))
     {
         Values.PagePreProcessors.Add(pageCode, new List <PagePreprocessorHandler>());
     }
     Values.PagePreProcessors[pageCode].Add(method);
 }
Esempio n. 2
0
        public static void AddPagePreprocessor(string pageCode, PagePreprocessorHandler method)
        {
            AdminHandler admin = Instance;

            if (!admin.pagePreProcessors.ContainsKey(pageCode))
            {
                admin.pagePreProcessors.Add(pageCode, new List <PagePreprocessorHandler>());
            }
            admin.pagePreProcessors[pageCode].Add(method);
        }
Esempio n. 3
0
 public static void AddPagePreprocessor(string pageCode, PagePreprocessorHandler method)
 {
     if (!Values.PagePreProcessors.ContainsKey(pageCode))
         Values.PagePreProcessors.Add(pageCode, new List<PagePreprocessorHandler>());
     Values.PagePreProcessors[pageCode].Add(method);
 }
Esempio n. 4
0
 public static void AddPagePreprocessor(string pageCode, PagePreprocessorHandler method)
 {
     AdminHandler admin = Instance;
     if (!admin.pagePreProcessors.ContainsKey(pageCode))
         admin.pagePreProcessors.Add(pageCode, new List<PagePreprocessorHandler>());
     admin.pagePreProcessors[pageCode].Add(method);
 }