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