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

📄 attributeupdateimpl.cs

📁 基于DotNet的开源工作流引擎
💻 CS
字号:
using System;
using NetBpm.Workflow.Definition;
using NetBpm.Workflow.Execution.Impl;

namespace NetBpm.Workflow.Log.Impl
{
	public class AttributeUpdateImpl : LogDetailImpl, IAttributeUpdate
	{
		private IAttribute _attribute = null;
		private String _valueText = null;

		public IAttribute Attribute
		{
			get { return this._attribute; }
			set { this._attribute = value; }
		}

		public String ValueText
		{
			get { return this._valueText; }
			set { this._valueText = value; }
		}

		public AttributeUpdateImpl()
		{
		}

		public AttributeUpdateImpl(AttributeInstanceImpl attributeInstance)
		{
			this._attribute = attributeInstance.Attribute;
			this._valueText = attributeInstance.ValueText;
		}

		public Object GetValue()
		{
			// until it is possible to access a default html-formatter
			// for an attribute, it is not possible to give the real 
			// object here, sorry. 
			return this._valueText;
		}
	}
}

⌨️ 快捷键说明

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