WorkflowInstanceExtensionManager 类

定义

管理 WorkflowInstance 的扩展的集合。Manages a collection of extensions for a WorkflowInstance.

public ref class WorkflowInstanceExtensionManager
public class WorkflowInstanceExtensionManager
type WorkflowInstanceExtensionManager = class
Public Class WorkflowInstanceExtensionManager
继承
WorkflowInstanceExtensionManager

构造函数

WorkflowInstanceExtensionManager()

初始化 WorkflowInstanceExtensionManager 类的新实例。Initializes a new instance of the WorkflowInstanceExtensionManager class.

方法

Add(Object)

将指定的扩展添加到扩展的集合。Adds the specified extension to the collection of extensions.

Add<T>(Func<T>)

注册 Func<TResult>,其用于提供扩展实例(在通过工作流实例注册时)。Registers a Func<TResult> that is used to provide an instance of an extension when requested by a workflow instance.

Equals(Object)

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

(继承自 Object)
GetHashCode()

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

(继承自 Object)
GetType()

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

(继承自 Object)
MakeReadOnly()

将扩展的集合标记为只读。Marks the collection of extensions as read-only.

MemberwiseClone()

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

(继承自 Object)
ToString()

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

(继承自 Object)

适用于