FlowWright.cDevDeAPI Namespace
deWorkflowDefinition Class
deWorkflowDefinition Methods
FlowWright.cDevDecisionEngine Namespace

deWorkflowDefinition..::..compareSnapshots Method

compares the two snapshots and return the differences between the two

Namespace:  FlowWright.cDevDeAPI
Assembly:  cDevDeAPI (in cDevDeAPI.dll)

Syntax


public void compareSnapshots(
	string snapshotID1,
	string snapshotID2,
	ref Dictionary<string, clsFigure> oStepsAddedTo1,
	ref Dictionary<string, clsFigure> oStepsIn2NotIn1,
	ref Dictionary<string, clsFigure> oSameStepsChanged1,
	ref Dictionary<string, clsFigure> oSameStepsChanged2,
	bool oSnapShot1IsCurrentDef,
	bool oSnapShot2IsCurrentDef
)
Public Sub compareSnapshots ( _
	snapshotID1 As String, _
	snapshotID2 As String, _
	ByRef oStepsAddedTo1 As Dictionary(Of String, clsFigure), _
	ByRef oStepsIn2NotIn1 As Dictionary(Of String, clsFigure), _
	ByRef oSameStepsChanged1 As Dictionary(Of String, clsFigure), _
	ByRef oSameStepsChanged2 As Dictionary(Of String, clsFigure), _
	oSnapShot1IsCurrentDef As Boolean, _
	oSnapShot2IsCurrentDef As Boolean _
)
public:
void compareSnapshots(
	String^ snapshotID1, 
	String^ snapshotID2, 
	Dictionary<String^, clsFigure^>^% oStepsAddedTo1, 
	Dictionary<String^, clsFigure^>^% oStepsIn2NotIn1, 
	Dictionary<String^, clsFigure^>^% oSameStepsChanged1, 
	Dictionary<String^, clsFigure^>^% oSameStepsChanged2, 
	bool^ oSnapShot1IsCurrentDef, 
	bool^ oSnapShot2IsCurrentDef
)

Parameters

snapshotID1
Type: String
ID of snapshot 1
snapshotID2
Type: String
ID of snapshot 2
oStepsAddedTo1
Type: Dictionary<(Of <(<'String, clsFigure>)>)>%
Figures that exist on snapshot1 but not on snapshot2
oStepsIn2NotIn1
Type: Dictionary<(Of <(<'String, clsFigure>)>)>%
Figures that exist on snapshot2 but not on snapshot1
oSameStepsChanged1
Type: Dictionary<(Of <(<'String, clsFigure>)>)>%
Figures that are same, but properties differ
oSameStepsChanged2
Type: Dictionary<(Of <(<'String, clsFigure>)>)>%
Figures that are same, but properties differ
oSnapShot1IsCurrentDef
Type: Boolean
if set to true [o snap shot1 is current definition].
oSnapShot2IsCurrentDef
Type: Boolean
if set to true [o snap shot2 is current definition].