protected BaseHdumNode(IHdumNode parent, IHdumType type, String name) { _Members = new OrderedDictionary<String, IHdumNode>(); _Children = new List<IHdumNode>(); _SelfReference = this; _Parent = parent; _Root = parent != null ? parent.Root : this; _NodeType = type; _Namespace = type.Namespace; var names = _Namespace.MemberNames; var prefix = _Namespace.NamesPrefix; this[prefix + names.NameofThis] = _SelfReference; this[prefix + names.NameofParent] = _Parent; this[prefix + names.NameofRoot] = _Root; this[prefix + names.NameofType] = _NodeType; _NameNode = name != null ? _Namespace.TypeofName.CreateNode(this, name).As<IHdumName>() : null; this[prefix + names.NameofName] = _NameNode; }
public HdumNamespaceException(IHdumNamespace nspace, String message) : base(message) { Namespace = nspace; }
public HdumNamespaceException(IHdumNamespace nspace, String message, Exception inner) : base(message, inner) { Namespace = nspace; }
public HdumNamespaceException(IHdumNamespace nspace) : base("A problem within a given HDUM namespace has occurred.") { Namespace = nspace; }