BN089-BS开发框架MVC4版/source20131023/Zephyr.Net/Zephyr.WorkFlow/Node/Node.cs
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections;
using System.Globalization;
using System.Text;
namespace Zephyr.WorkFlow
{
public class Node
{
private String _name = null;
private IList _content;
private IDictionary _children;
private IDictionary _attributes;
private static readonly String LINESEPARATOR;
static Node()
{
LINESEPARATOR = UnicodeCategory.LineSeparator.ToString();
}
private void InitBlock()
{
_content = new ArrayList();
_children = new Hashtable();
_attributes = new Hashtable();
}
public String Name
{
get { return _name; }
}
public IDictionary Attributes
{
get { return _attributes; }
set { this._attributes = value; }
}
public IList Content
{
get { return _content; }
}
public Node(String name)
{
InitBlock();
this._name = name;
}
public void RemoveAttribute(String attributeName)
{
_attributes.Remove(attributeName);
}
public String GetAttribute(String attributeName)
{
return (String) _attributes[attributeName];
}
后面还有 143 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。