SourceLocationProvider.GetSourceLocations(Activity, WorkflowSymbol) Method

Definition

Gets the source locations for the specified root activity and workflow symbols.

public:
 static System::Collections::Generic::Dictionary<System::Object ^, System::Activities::Debugger::SourceLocation ^> ^ GetSourceLocations(System::Activities::Activity ^ rootActivity, System::Activities::Debugger::Symbol::WorkflowSymbol ^ symbol);
public static System.Collections.Generic.Dictionary<object,System.Activities.Debugger.SourceLocation> GetSourceLocations (System.Activities.Activity rootActivity, System.Activities.Debugger.Symbol.WorkflowSymbol symbol);
static member GetSourceLocations : System.Activities.Activity * System.Activities.Debugger.Symbol.WorkflowSymbol -> System.Collections.Generic.Dictionary<obj, System.Activities.Debugger.SourceLocation>
Public Shared Function GetSourceLocations (rootActivity As Activity, symbol As WorkflowSymbol) As Dictionary(Of Object, SourceLocation)

Parameters

rootActivity
Activity

A workflow element that represents the root activity from which to get the source locations.

symbol
WorkflowSymbol

An object that contains the workflow symbols.

Returns

A Dictionary<TKey,TValue> object that contains the source locations.

Applies to