|
<?xml version="1.0" encoding="utf-8"?>
<local:ParallelForeachWorkflow mva:VisualBasic.Settings="Assembly references and imported namespaces for internal implementation" xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities" xmlns:local="clr-namespace:ParallelWorkflow;assembly=ParallelWorkflow" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:mv="clr-namespace:Microsoft.VisualBasic;assembly=System" xmlns:mva="clr-namespace:Microsoft.VisualBasic.Activities;assembly=System.Activities" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:s1="clr-namespace:System;assembly=System" xmlns:s2="clr-namespace:System;assembly=System.Xml" xmlns:s3="clr-namespace:System;assembly=System.Core" xmlns:sad="clr-namespace:System.Activities.Debugger;assembly=System.Activities" xmlns:sap="http://schemas.microsoft.com/netfx/2009/xaml/activities/presentation" xmlns:scg="clr-namespace:System.Collections.Generic;assembly=mscorlib" xmlns:scg1="clr-namespace:System.Collections.Generic;assembly=System" xmlns:scg2="clr-namespace:System.Collections.Generic;assembly=System.ServiceModel" xmlns:scg3="clr-namespace:System.Collections.Generic;assembly=System.Core" xmlns:sd="clr-namespace:System.Data;assembly=System.Data" xmlns:sl="clr-namespace:System.Linq;assembly=System.Core" xmlns:st="clr-namespace:System.Text;assembly=mscorlib" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<local:ParallelForeachWorkflow.Implementation>
<ParallelForEach x:TypeArguments="x:Double" DisplayName="ParallelForEach<Double>" sad:XamlDebuggerXmlReader.FileName="E:\Reza\CodeProject\ParallelWorkflow\ParallelWorkflow\ParallelForeachWorkflow.xaml" Values="[itemList]">
<ActivityAction x:TypeArguments="x:Double">
<ActivityAction.Argument>
<DelegateInArgument x:TypeArguments="x:Double" Name="item" />
</ActivityAction.Argument>
<Sequence>
<Sequence.Variables>
<Variable x:TypeArguments="x:Double" Name="X" />
<Variable x:TypeArguments="x:Double" Name="Y" />
<Variable x:TypeArguments="x:Double" Name="Z" />
</Sequence.Variables>
<Assign>
<Assign.To>
<OutArgument x:TypeArguments="x:Double">[X]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:Double">[New Random().Next(0, 360)]</InArgument>
</Assign.Value>
</Assign>
<local:LongRunningCalcActivity Duration="00:00:01" />
<Assign>
<Assign.To>
<OutArgument x:TypeArguments="x:Double">[Y]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:Double">[New Random().Next(0, 360)]</InArgument>
</Assign.Value>
</Assign>
<Assign>
<Assign.To>
<OutArgument x:TypeArguments="x:Double">[Z]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:Double">[Math.Sign(X) + Math.Cos(Y)]</InArgument>
</Assign.Value>
</Assign>
</Sequence>
</ActivityAction>
</ParallelForEach>
</local:ParallelForeachWorkflow.Implementation>
</local:ParallelForeachWorkflow>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.