implementation.cs
来自「xpdl的c#解析器 完全依照xpdl标准」· CS 代码 · 共 26 行
CS
26 行
using System;
using System.Collections;
namespace com.use.wfp.xpdl.elements
{
/// <summary>
/// Implementation 的摘要说明。
/// </summary>
public class Implementation:BaseElement
{
private IList tools;
private BaseElement defination;
private static string[] defs = {"Tool", "SubFlow", "No"};
public Type GetImplementationType(){
return ChoiceChild(defination, out defination, defs).GetType();
}
public Object GetImplementation(){
if(GetImplementationType().Equals(typeof(Tool))){
return GetChildren(tools, out tools, typeof(Tool), "Tool");
}
return defination;
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?