CodeGenerationManager 类

定义

警告

此 API 现已过时。

允许在编译的代码生成阶段跨活动代码生成器共享数据。Enables sharing of data across activity code generators during the code generation phase of compilation. 此类不能被继承。This class cannot be inherited.

public ref class CodeGenerationManager sealed : IServiceProvider
public sealed class CodeGenerationManager : IServiceProvider
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class CodeGenerationManager : IServiceProvider
type CodeGenerationManager = class
    interface IServiceProvider
Public NotInheritable Class CodeGenerationManager
Implements IServiceProvider
继承
CodeGenerationManager
属性
实现

注解

备注

本材料讨论的类型和命名空间已废弃不用。This material discusses types and namespaces that are obsolete. 有关详细信息,请参阅 Windows Workflow Foundation 4.5 中弃用的类型For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

实现 IServiceProvider 接口。Implements the IServiceProvider interface.

构造函数

CodeGenerationManager(IServiceProvider)

使用现有的 CodeGenerationManager 类型初始化 IServiceProvider 类的新实例。Initializes a new instance of the CodeGenerationManager class by using an existing IServiceProvider type.

属性

Context

获取与此实例关联的 ContextStackGets the ContextStack associated with this instance.

方法

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetCodeGenerators(Type)

获取包含与指定的 ActivityCodeGenerator 关联的每个 Type 的数组。Gets an array that contains each ActivityCodeGenerator associated with the specified Type.

GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetService(Type)

提供对指定类型的服务对象的访问。Provides access to the service object of the specified type.

GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于