schematype.cs
来自「工作流的基本资料(文档资料」· CS 代码 · 共 35 行
CS
35 行
using System;
using System.Collections;
using com.use.wfp.util;
namespace com.use.wfp.xpdl.elements
{
/// <summary>
/// SchemaType 的摘要说明。
/// </summary>
public class SchemaType:BaseElement
{
private IList nodes;
public IList GetNodes()
{
return GetChildren(nodes, out nodes);
}
public Node GetNodeByName(String name)
{
if(nodes == null)
{
GetNodes();
}
foreach(Node node in nodes)
{
if(node.GetName().Equals(name))
{
return node;
}
}
throw new ObjectNotFound("Node Not Found! Name = " + name);
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?