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

📄 formalparameter.cs

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

namespace com.use.wfp.xpdl.elements
{
	/// <summary>
	/// FormalParameter 的摘要说明。
	/// </summary>
	[Serializable]
	public class FormalParameter:BaseElement
	{
		private BaseElement DataType;
		public DataType GetDataType()
		{
			return (DataType)GetChild( DataType, out DataType, "DataType");
		}
		private string Description;
		public string GetDescription()
		{
			return GetChildText(Description, out Description, "Description");
		}        
        
		private string Id;
		public String GetId()
		{
			return GetAttribute(Id, out Id, "Id");
		}	
        
		private string Index;
		public String GetIndex()
		{
			return GetAttribute(Index, out Index, "Index");
		}	
        
		private String mode;
		private static Hashtable modes;
		public FormalParameterMode GetFormalParameterMode(){
			return (FormalParameterMode)modes[GetAttribute(mode, out mode, "Mode", "IN")];
		}

		public FormalParameter(){
			if(modes == null){
				modes = new Hashtable();
				modes.Add("IN", FormalParameterMode.IN);
				modes.Add("OUT", FormalParameterMode.OUT);
				modes.Add("INOUT", FormalParameterMode.INOUT);
			}
		}
	}
}

⌨️ 快捷键说明

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