internal BuildResultNoCompileUserControl(Type baseType, TemplateParser parser) : base(baseType, parser) { UserControlParser parser2 = (UserControlParser)parser; OutputCacheParameters outputCacheParameters = parser2.OutputCacheParameters; if ((outputCacheParameters != null) && (outputCacheParameters.Duration > 0)) { this._cachingAttribute = new PartialCachingAttribute(outputCacheParameters.Duration, outputCacheParameters.VaryByParam, outputCacheParameters.VaryByControl, outputCacheParameters.VaryByCustom, outputCacheParameters.SqlDependency, parser2.FSharedPartialCaching); this._cachingAttribute.ProviderName = parser2.Provider; } }
public static Type CompileUserControlType(UserControlParser parser) { UserControlCompiler pc = new UserControlCompiler(parser); return(pc.GetCompiledType()); }
public UserControlCompiler(UserControlParser parser) : base(parser) { this.parser = parser; }
internal UserControlCodeDomTreeGenerator(UserControlParser ucParser) : base(ucParser) { this._ucParser = ucParser; }
internal UserControlCompiler(UserControlParser ucParser) : base(ucParser) { _ucParser = ucParser; }
internal /*public*/ static Type CompileUserControlType(UserControlParser ucParser) { UserControlCompiler compiler = new UserControlCompiler(ucParser); return(compiler.GetCompiledType()); }