开发学院软件开发C语言 WF4.0 Beta2:关于动态保存和装载XAML工作流 阅读

WF4.0 Beta2:关于动态保存和装载XAML工作流

 2010-09-30 21:05:54 来源:WEB开发网   
核心提示: 3.执行的结果如下:GettingStartedhelloworldresulttextishelloworldthat'sok!thereare3argumentsintheactivitybuilderpressentertoexit4.生成的XAML如下:<?xmlversi

3.执行的结果如下:

--------------------------------------------------------------------------------------------
Getting Started
helloworld
result text is helloworld  that's ok!
there are 3 arguments in the activity builder
press enter to exit
--------------------------------------------------------------------------------------------

4.生成的XAML如下:

<?xml version="1.0" encoding="utf-16"?>
<Activity x:Class="HelloWorldCary" xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities" 
          xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <x:Members>
        <x:Property Name="input1" Type="InArgument(x:String)" />
        <x:Property Name="input2" Type="InArgument(x:String)" />
        <x:Property Name="output" Type="OutArgument(x:String)" />
    </x:Members>
    <Sequence>
        <WriteLine Text="Getting Started" />
        <Delay Duration="00:00:04" />
        <WriteLine Text="[input1+input2]" />
        <Assign x:TypeArguments="x:String" To="[output]" Value="[input1+input2+"  that's ok!"]" />
    </Sequence>
</Activity>

上一页  1 2 

Tags:WF 关于

编辑录入:爽爽 [复制链接] [打 印]
[]
  • 好
  • 好的评价 如果觉得好,就请您
      0%(0)
  • 差
  • 差的评价 如果觉得差,就请您
      0%(0)
赞助商链接