transitionrefs.cs
来自「xpdl的c#解析器 完全依照xpdl标准」· CS 代码 · 共 35 行
CS
35 行
using System;
using System.Collections;
using Nucleus.Common.Util;
namespace com.use.wfp.xpdl.elements
{
/// <summary>
/// TransitionRefs 的摘要说明。
/// </summary>
public class TransitionRefs:BaseElement
{
public TransitionRef GetTransitionRefById(String Id)
{
if(null == apps)
{
GetTransitionRefs();
}
foreach(TransitionRef app in apps)
{
if(app.GetId().Equals(Id))
{
return app;
}
}
throw new ObjectNotFound("TransitionRef Not Found! Id=" +Id);
}
private IList apps;
public IList GetTransitionRefs()
{
return GetChildren(apps, out apps, typeof(TransitionRef), "TransitionRef");
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?