Пример #1
0
        public IncludesHandler(IDynamicContentTransformer transformer, IIncludesHandlerExtension ext)
        {
            m_Transformer = transformer;
            m_PlcParser   = new PlaceholdersParser(START_TAG, END_TAG);

            m_Ext = ext;
        }
Пример #2
0
        public CompilerManager(ICompiler compiler,
                               IStaticContentTransformer staticContTransf,
                               IDynamicContentTransformer dynContTransf,
                               CompilerExtension ext)
        {
            Instance = compiler;
            StaticContentTransformer  = staticContTransf;
            DynamicContentTransformer = dynContTransf;

            m_Ext = ext;
            m_Ext.RequestPreCompile       += OnRequestPreCompile;
            m_Ext.RequestRenderCodeBlock  += OnRequestRenderCodeBlock;
            m_Ext.RequestRenderImage      += OnRequestRenderImage;
            m_Ext.RequestRenderUrl        += OnRequestRenderUrl;
            m_Ext.RequestWritePageContent += OnRequestWritePageContent;
            m_Ext.RequestPostCompile      += OnRequestPostCompile;
            m_Ext.RequestPostCompileFile  += OnRequestPostCompileFile;
        }
Пример #3
0
 public LayoutParser(IDynamicContentTransformer transformer)
 {
     m_Transformer = transformer;
 }