Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Activity mc:Ignorable="sap" x:Class="ActivityLibrary.SalutationRules" xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities" 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:SharedLibrary;assembly=SharedLibrary" xmlns:s1="clr-namespace:System;assembly=mscorlib" xmlns:s2="clr-namespace:System;assembly=System" xmlns:s3="clr-namespace:System;assembly=System.Xml" xmlns:s4="clr-namespace:System;assembly=System.Core" xmlns:s5="clr-namespace:System;assembly=System.ServiceModel" xmlns:sa="clr-namespace:System.Activities;assembly=System.Activities" 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=System" xmlns:scg1="clr-namespace:System.Collections.Generic;assembly=System.ServiceModel" xmlns:scg2="clr-namespace:System.Collections.Generic;assembly=System.Core" xmlns:scg3="clr-namespace:System.Collections.Generic;assembly=mscorlib" 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">
- <x:Members>
- <x:Property Name="Person" Type="InArgument(s:Person)" />
- </x:Members>
- <sap:VirtualizedContainerService.HintSize>571,848</sap:VirtualizedContainerService.HintSize>
- <mva:VisualBasic.Settings>Assembly references and imported namespaces for internal implementation</mva:VisualBasic.Settings>
- <Sequence DisplayName="Salutation sequence" sad:XamlDebuggerXmlReader.FileName="C:\projects\Testing\WF4-SalutationRules\ActivityLibrary\SalutationRules.xaml" sap:VirtualizedContainerService.HintSize="531,808">
- <sap:WorkflowViewStateService.ViewState>
- <scg3:Dictionary x:TypeArguments="x:String, x:Object">
- <x:Boolean x:Key="IsExpanded">True</x:Boolean>
- </scg3:Dictionary>
- </sap:WorkflowViewStateService.ViewState>
- <If Condition="[Person.Gender = "Male"]" sap:VirtualizedContainerService.HintSize="509,201">
- <If.Then>
- <Assign sap:VirtualizedContainerService.HintSize="242,100">
- <Assign.To>
- <OutArgument x:TypeArguments="x:String">[Person.Salutation]</OutArgument>
- </Assign.To>
- <Assign.Value>
- <InArgument x:TypeArguments="x:String">Mr</InArgument>
- </Assign.Value>
- </Assign>
- </If.Then>
- <If.Else>
- <Assign sap:VirtualizedContainerService.HintSize="242,100">
- <Assign.To>
- <OutArgument x:TypeArguments="x:String">[Person.Salutation]</OutArgument>
- </Assign.To>
- <Assign.Value>
- <InArgument x:TypeArguments="x:String">Miss</InArgument>
- </Assign.Value>
- </Assign>
- </If.Else>
- </If>
- <If Condition="[Person.Gender = "Female" & Person.Married]" sap:VirtualizedContainerService.HintSize="509,201">
- <If.Then>
- <Assign sap:VirtualizedContainerService.HintSize="291,100">
- <Assign.To>
- <OutArgument x:TypeArguments="x:String">[Person.Salutation]</OutArgument>
- </Assign.To>
- <Assign.Value>
- <InArgument x:TypeArguments="x:String">Mrs</InArgument>
- </Assign.Value>
- </Assign>
- </If.Then>
- </If>
- <If Condition="[Person.Age < 18]" sap:VirtualizedContainerService.HintSize="509,202">
- <If.Then>
- <Assign sap:VirtualizedContainerService.HintSize="291,100">
- <Assign.To>
- <OutArgument x:TypeArguments="x:String">[Person.Salutation]</OutArgument>
- </Assign.To>
- <Assign.Value>
- <InArgument x:TypeArguments="x:String">To the parents of</InArgument>
- </Assign.Value>
- </Assign>
- </If.Then>
- </If>
- </Sequence>
- </Activity>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement