⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 extendedattribute.cs

📁 xpdl的c#解析器 完全依照xpdl标准
💻 CS
字号:
using System;
using System.Collections;
using Nucleus.Common.Util;

namespace com.use.wfp.xpdl.elements
{
	/// <summary>
	/// ExtendedAttribute 的摘要说明。
	/// </summary>
	public class ExtendedAttribute: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);
		}
        
		new public string GetText()
		{
			return base.GetText();
		}
        
		/// <remarks/>
		private string Name;
		public String GetName()
		{
			return GetAttribute(Name, out Name, "Name");
		}

		/// <remarks/>
		private string Value;
		public String GetValue()
		{
			return GetAttribute(Value, out Value, "Value");
		}
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -