System.Web.Compilation Namespace

System.Web.Compilation 命名空间包含用于生成和编译 ASP.NET 生成环境中的自定义文件类型的类。 The System.Web.Compilation namespace contains classes for generating and compiling custom file types within the ASP.NET build environment.

AppSettingsExpressionBuilder

按照声明性表达式指定的设置,从 Web.config 文件的 <appSettings> 节中检索值。Retrieves values, as specified in a declarative expression, from the <appSettings> section of the Web.config file.

AssemblyBuilder

提供一个容器,用以从 ASP.NET 项目内的一个或多个虚拟路径生成程序集。Provides a container for building an assembly from one or more virtual paths within an ASP.NET project.

BuildDependencySet

表示生成管理器所返回的依赖项。Represents dependencies returned by the build manager.

BuildManager

提供一组有助于管理 ASP.NET 应用程序编译的方法。Provides a set of methods to help manage the compilation of an ASP.NET application.

BuildManagerHostUnloadEventArgs

包含 AppDomainShutdown 事件和 AppDomainUnloaded 事件的事件数据。Contains event data for the AppDomainShutdown event and the AppDomainUnloaded event.

BuildProvider

定义用于在 ASP.NET 生成环境中生成源代码的一组属性和方法。Defines a set of properties and methods for generating source code within the ASP.NET build environment. 此类为抽象类。This class is abstract.

BuildProviderAppliesToAttribute

定义一个特性,指定找到资源时应用生成提供程序的范围。Defines an attribute that specifies the scope where a build provider will be applied when a resource is located. 此类不能被继承。This class cannot be inherited.

ClientBuildManager

为 ASP.NET 应用程序提供编译服务。Provides compilation services for ASP.NET applications.

ClientBuildManagerCallback

ClientBuildManager 对象接收有关生成的状态信息。Receives status information about a build from the ClientBuildManager object.

ClientBuildManagerParameter

包含在预编译期间传递给 ASP.NET 编译器的值。Contains values passed to the ASP.NET compiler during precompilation.

CompilerType

表示 ASP.NET 生成环境用来从虚拟路径生成和编译源代码的编译器设置。Represents the compiler settings used within the ASP.NET build environment to generate and compile source code from a virtual path. 此类不能被继承。This class cannot be inherited.

ConnectionStringsExpressionBuilder

检索或生成代码以检索 Web.config 文件的 <connectionStrings> 节中的值。Retrieves, or generates code to retrieve, values from the <connectionStrings> section of the Web.config file.

ControlBuilderInterceptor

允许自定义或控制编译过程。Allows the compilation process to be customized or controlled.

DesignTimeResourceProviderFactoryAttribute

指定设计时的资源提供程序工厂的类型。Specifies the type of resource provider factory for design time. 此类不能被继承。This class cannot be inherited.

ExpressionBuilder

在分析页的过程中计算表达式。Evaluates expressions during page parsing.

ExpressionBuilderContext

提供 ExpressionBuilder 对象的上下文。Provides the context for an ExpressionBuilder object.

ExpressionEditorAttribute

指定表达式生成器的设计时编辑器。Specifies the design-time editor of the expression builder. 此类不能被继承。This class cannot be inherited.

ExpressionPrefixAttribute

指定用于表达式生成器的前缀特性。Specifies the prefix attribute to use for the expression builder. 此类不能被继承。This class cannot be inherited.

FolderLevelBuildProviderAppliesToAttribute

定义一个特性,该特性指定在查找资源时应该应用 FolderLevelBuildProvider 对象的范围。Defines an attribute that specifies the scope where a FolderLevelBuildProvider object should be applied when a resource is located.

ImplicitResourceKey

包含标识隐式资源键的字段。Contains fields that identify an implicit resource key.

LinePragmaCodeInfo

包含正在分析的脚本块的属性。Contains properties for a script block being parsed.

ResourceExpressionBuilder

向页分析器提供代码以便为控件属性赋值。Provides code to the page parser for assigning property values on a control.

ResourceExpressionFields

包含已分析资源表达式中的字段。Contains the fields from a parsed resource expression.

ResourceProviderFactory

用作创建资源提供程序的类的基类。Serves as the base class for classes that create resource providers.

RouteUrlExpressionBuilder

创建与指定的 URL 参数值对应的 URL。Creates a URL that corresponds to specified URL parameter values.

RouteValueExpressionBuilder

检索与路由页中的指定 URL 参数对应的值。Retrieves the value that corresponds to a specified URL parameter in a routed page.

WCFBuildProvider

为 Windows Communication Foundation (WCF) 服务生成代理类代码Generates proxy class code for Windows Communication Foundation (WCF) services

接口

IAssemblyPostProcessor

定义方法,类可实现这些方法在生成程序集之后对程序集进行处理。Defines the method a class implements to process an assembly after the assembly has been built.

IImplicitResourceProvider

定义方法,类可实现这些方法用作隐式资源提供程序。Defines methods a class implements to act as an implicit resource provider.

IResourceProvider

定义类必需实现来作为资源提供程序的接口。Defines the interface a class must implement to act as a resource provider.

IWcfReferenceReceiveContextInformation

定义要为获取附加上下文信息而实现的接口。Defines the interface to implement to obtain additional context information.

枚举

BuildProviderAppliesTo

指定在 BuildProviderAppliesToAttribute 对象为资源生成代码的过程中 BuildProvider 特性有效的位置。Specifies the locations where the BuildProviderAppliesToAttribute attribute is respected during code generation for a resource by a BuildProvider object.

BuildProviderResultFlags

指示生成虚拟路径时所需的行为。Indicates the required behavior when a virtual path is built.

FolderLevelBuildProviderAppliesTo

表示指定 FolderLevelBuildProvider 对象所应用于的目标目录的枚举。Represents an enumeration that specifies the target directory that a FolderLevelBuildProvider object applies to.

PrecompilationFlags

提供确定预编译行为的标志。Provides flags that determine precompilation behavior.

委托

BuildManagerHostUnloadEventHandler

表示处理 AppDomainUnloaded 对象的 AppDomainShutdown 事件和 ClientBuildManager 事件的方法。Represents the method that handles the AppDomainUnloaded event and the AppDomainShutdown event of a ClientBuildManager object.