📄 extendedattributes.cs
字号:
using System;
using System.Collections;
using Nucleus.Common.Util;
namespace com.use.wfp.xpdl.elements
{
/// <summary>
/// ExtendedAttributes 的摘要说明。
/// </summary>
public class ExtendedAttributes:BaseElement
{
public ExtendedAttribute GetExtendedAttributeByName(String name)
{
if(null == apps)
{
GetExtendedAttributes();
}
foreach(ExtendedAttribute app in apps)
{
if(app.GetName().Equals(name))
{
return app;
}
}
throw new ObjectNotFound("ExtendedAttribute Not Found! Name=" +name);
}
private IList apps;
public IList GetExtendedAttributes()
{
return GetChildren(apps, out apps, typeof(ExtendedAttribute), "ExtendedAttribute");
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -