Class ElementNode
Inheritance
System.Object
ElementNode
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ArtOfTest.Common.Design.ProjectModel
Assembly: ArtOfTest.WebAii.Design.dll
Syntax
public class ElementNode
Constructors
ElementNode(INodeData, ElementDescriptor)
Declaration
public ElementNode(INodeData node, ElementDescriptor descriptor)
Parameters
INodeData
node
|
ElementDescriptor
descriptor
|
Fields
MAX_FRIENDLYNAME_LENGTH
Declaration
public const int MAX_FRIENDLYNAME_LENGTH = 30
Field Value
System.Int32
|
Properties
AssociatedDescriptor
Children
Container
Declaration
public object Container { get; set; }
Property Value
System.Object
|
Depth
Declaration
public int Depth { get; set; }
Property Value
System.Int32
|
ErrorDetails
Declaration
public string ErrorDetails { get; set; }
Property Value
System.String
|
InError
Declaration
public bool InError { get; set; }
Property Value
System.Boolean
|
IsDirty
Declaration
public bool IsDirty { get; set; }
Property Value
System.Boolean
|
Name
Declaration
public string Name { get; set; }
Property Value
System.String
|
NodeData
NodeType
Declaration
public Type NodeType { get; set; }
Property Value
System.Type
|
Parent
Shadows
Declaration
public Dictionary<ElementDescriptor, INodeData> Shadows { get; }
Property Value
System.Collections.Generic.Dictionary<ElementDescriptor, INodeData>
|
VariableReference
Declaration
public CodeExpression VariableReference { get; set; }
Property Value
System.CodeDom.CodeExpression
|
Methods
AddChild(ElementNode)
Declaration
public ElementNode AddChild(ElementNode node)
Parameters
ElementNode
node
|
Returns
ElementNode
|
AddShadow(INodeData, ElementDescriptor)
Declaration
public void AddShadow(INodeData node, ElementDescriptor descriptor)
Parameters
INodeData
node
|
ElementDescriptor
descriptor
|
Attach()
Declaration
public void Attach()
Clone()
Detach()
Declaration
public void Detach()
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
|
Returns
System.Boolean
|
Overrides
System.Object.Equals(System.Object)
GetElementDescriptor()
GetHashCode()
Declaration
public override int GetHashCode()
Returns
System.Int32
|
Overrides
System.Object.GetHashCode()
GetParentElementOfKind<T>(Int32)
Declaration
public ElementNode GetParentElementOfKind<T>(int kind)
Parameters
System.Int32
kind
|
Returns
ElementNode
|
Type Parameters
T
|
GetParentOfKind<T>(Int32)
Declaration
public T GetParentOfKind<T>(int kind)
Parameters
System.Int32
kind
|
Returns
T
|
Type Parameters
T
|
InsertChild(Int32, ElementNode)
Declaration
public ElementNode InsertChild(int index, ElementNode node)
Parameters
System.Int32
index
|
ElementNode
node
|
Returns
ElementNode
|
OnReplaceNode(Object, ElementNodeEventArgs)
Declaration
public void OnReplaceNode(object sender, ElementNodeEventArgs args)
Parameters
System.Object
sender
|
ElementNodeEventArgs
args
|
RemoveByDescriptor(ElementDescriptor)
Declaration
public void RemoveByDescriptor(ElementDescriptor descriptor)
Parameters
ElementDescriptor
descriptor
|
RemoveSelfIfNeeded()
Declaration
public void RemoveSelfIfNeeded()
SetIndependent(ElementDescriptor)
Declaration
public void SetIndependent(ElementDescriptor descriptor)
Parameters
ElementDescriptor
descriptor
|
SetParent(ElementNode)
ToString()
Declaration
public override string ToString()
Returns
System.String
|
Overrides
System.Object.ToString()
Events
ReplaceNode
Declaration
public event EventHandler<ElementNodeEventArgs> ReplaceNode
Event Type
System.EventHandler<ElementNodeEventArgs>
|