摘要 |
本篇文章将介绍实现自定义Workflow的第二部分——设置配置文件。 |
正文 |
下面将记录每一步的操作过程。 1 <authorizedType Assembly="Eallies.Workflow.Demo, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2b73eeea223c0615" Namespace="Eallies.Workflow.Demo" TypeName="*" Authorized="True" />
1 <Action Name="Write a File" 2 ClassName="Eallies.Workflow.Demo.WriteFile" 3 Assembly="Eallies.Workflow.Demo, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2b73eeea223c0615" 4 Category="Eallies" 5 AppliesTo="all"> 6 <RuleDesigner Sentence="Write %1 to the file"> 7 <FieldBind Field="Text" Text="this text" DesignerType="TextArea" Id="1"/> 8 </RuleDesigner> 9 <Parameters> 10 <Parameter Name="Text" Type="System.String, mscorlib" Direction="In" /> 11 </Parameters> 12 </Action>
|
来源:http://www.eallies.com