SourceLocationProvider.CollectMapping 方法

定义

创建到一个字典类型集合,该集合由根活动及其子代到其对应源位置的映射组成。

public:
 static void CollectMapping(System::Activities::Activity ^ rootActivity1, System::Activities::Activity ^ rootActivity2, System::Collections::Generic::Dictionary<System::Object ^, System::Activities::Debugger::SourceLocation ^> ^ mapping, System::String ^ path);
public static void CollectMapping (System.Activities.Activity rootActivity1, System.Activities.Activity rootActivity2, System.Collections.Generic.Dictionary<object,System.Activities.Debugger.SourceLocation> mapping, string path);
static member CollectMapping : System.Activities.Activity * System.Activities.Activity * System.Collections.Generic.Dictionary<obj, System.Activities.Debugger.SourceLocation> * string -> unit
Public Shared Sub CollectMapping (rootActivity1 As Activity, rootActivity2 As Activity, mapping As Dictionary(Of Object, SourceLocation), path As String)

参数

rootActivity1
Activity

一个工作流元素,该元素表示未映射到源位置的活动。

rootActivity2
Activity

一个工作流元素,该元素隐藏 rootActivity1,但具有其成员映射到的特定源位置。

mapping
Dictionary<Object,SourceLocation>

一个包含根活动及其子代的字典对象,其中每个活动都映射到一个源位置。

path
String

要使用的源文件的路径。

适用于