e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
39 lines
1.2 KiB
C#
39 lines
1.2 KiB
C#
//------------------------------------------------------------------------------
|
|
// <copyright file="PageBuildProvider.cs" company="Microsoft">
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// </copyright>
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
namespace System.Web.Compilation {
|
|
|
|
using System;
|
|
using System.IO;
|
|
using System.Collections;
|
|
using System.CodeDom.Compiler;
|
|
using System.Web.Configuration;
|
|
using System.Web.Util;
|
|
using System.Web.UI;
|
|
|
|
[BuildProviderAppliesTo(BuildProviderAppliesTo.Web)]
|
|
internal class PageBuildProvider: TemplateControlBuildProvider {
|
|
internal override DependencyParser CreateDependencyParser() {
|
|
return new PageDependencyParser();
|
|
}
|
|
|
|
protected override TemplateParser CreateParser() {
|
|
return new PageParser();
|
|
}
|
|
|
|
internal override BaseCodeDomTreeGenerator CreateCodeDomTreeGenerator(TemplateParser parser) {
|
|
return new PageCodeDomTreeGenerator((PageParser)parser);
|
|
}
|
|
|
|
internal override BuildResultNoCompileTemplateControl CreateNoCompileBuildResult() {
|
|
return new BuildResultNoCompilePage(Parser.BaseType, Parser);
|
|
}
|
|
}
|
|
|
|
}
|