<?xml version="1.0" encoding="utf-8"?>
<local:SwitchDemo mva:VisualBasic.Settings="Assembly references and imported namespaces for internal implementation" xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities" xmlns:av="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:local="clr-namespace:FlowChartSample;assembly=FlowChartSample" 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:s4="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">
  <local:SwitchDemo.Implementation>
    <Flowchart sad:XamlDebuggerXmlReader.FileName="J:\Book\Democodes\Ch13\Ch13Sample_03\FlowChartSample\SwitchDemo.xaml">
      <Flowchart.Variables>
        <Variable x:TypeArguments="x:Int32" Default="100" Name="FirstNumber" />
        <Variable x:TypeArguments="x:Int32" Default="10" Name="SecondNumber" />
        <Variable x:TypeArguments="local:CalculationType" Default="[CalculationType.Add]" Name="OperatorType" />
        <Variable x:TypeArguments="x:Int32" Default="0" Name="Result" />
        <Variable x:TypeArguments="x:String" Name="variable1" />
      </Flowchart.Variables>
      <Flowchart.StartNode>
        <FlowStep x:Name="__ReferenceID0">
          <Switch x:TypeArguments="local:CalculationType" Expression="[OperatorType]">
            <Assign x:Key="Add">
              <Assign.To>
                <OutArgument x:TypeArguments="x:Int32">[Result]</OutArgument>
              </Assign.To>
              <Assign.Value>
                <InArgument x:TypeArguments="x:Int32">[FirstNumber + SecondNumber]</InArgument>
              </Assign.Value>
            </Assign> <Assign x:Key="Subtract"><Assign.To><OutArgument x:TypeArguments="x:Int32">[Result]</OutArgument></Assign.To><Assign.Value><InArgument x:TypeArguments="x:Int32">[FirstNumber - SecondNumber]</InArgument></Assign.Value></Assign> <Assign x:Key="Multiply"><Assign.To><OutArgument x:TypeArguments="x:Int32">[Result]</OutArgument></Assign.To><Assign.Value><InArgument x:TypeArguments="x:Int32">[FirstNumber * SecondNumber]</InArgument></Assign.Value></Assign> <Assign x:Key="Divide"><Assign.To><OutArgument x:TypeArguments="x:Int32">[Result]</OutArgument></Assign.To><Assign.Value><InArgument x:TypeArguments="x:Int32">[Convert.ToInt32(FirstNumber / SecondNumber)]</InArgument></Assign.Value></Assign></Switch>
        </FlowStep>
      </Flowchart.StartNode>
      <x:Reference>__ReferenceID0</x:Reference>
    </Flowchart>
  </local:SwitchDemo.Implementation>
</local:SwitchDemo>