![]() |
Paradox Game Engine
v1.0.0 beta06
|
This class is the default implementation of the IModelNode. More...
Public Member Functions | |
void | AddChild (ModelNode child) |
Add a child to this node. The node must not have been sealed yet. More... | |
void | AddCommand (INodeCommand command) |
Add a command to this node. The node must not have been sealed yet. More... | |
void | RemoveCommand (INodeCommand command) |
Remove a command from this node. The node must not have been sealed yet. More... | |
void | Seal () |
Seal the node, indicating its construction is finished and that no more children or commands will be added. More... | |
override string | ToString () |
Properties | |
string | Name The guid must be differ from Guid.Empty." [get, set] |
Guid | Guid [get, set] |
virtual IContent | Content [get, set] |
virtual IModelNode | Parent [get, set] |
IReadOnlyCollection< IModelNode > | Children [get] |
IReadOnlyCollection< INodeCommand > | Commands [get] |
![]() | |
string | Name [get] |
Gets or sets the node name. More... | |
Guid | Guid [get] |
Gets or sets the System.Guid. More... | |
IModelNode | Parent [get] |
Gets or sets the parent node. More... | |
IReadOnlyCollection< IModelNode > | Children [get] |
Gets the children collection. More... | |
IContent | Content [get] |
Gets the content of the IModelNode. More... | |
IReadOnlyCollection< INodeCommand > | Commands [get] |
Gets the command collection. More... | |
This class is the default implementation of the IModelNode.
Definition at line 14 of file ModelNode.cs.
void SiliconStudio.Quantum.ModelNode.AddChild | ( | ModelNode | child | ) |
Add a child to this node. The node must not have been sealed yet.
child | The child node to add. |
Definition at line 59 of file ModelNode.cs.
References SiliconStudio.Quantum.ModelNode.Parent.
void SiliconStudio.Quantum.ModelNode.AddCommand | ( | INodeCommand | command | ) |
Add a command to this node. The node must not have been sealed yet.
command | The node command to add. |
Definition at line 78 of file ModelNode.cs.
void SiliconStudio.Quantum.ModelNode.RemoveCommand | ( | INodeCommand | command | ) |
Remove a command from this node. The node must not have been sealed yet.
command | The node command to remove. |
Definition at line 90 of file ModelNode.cs.
void SiliconStudio.Quantum.ModelNode.Seal | ( | ) |
Seal the node, indicating its construction is finished and that no more children or commands will be added.
Definition at line 101 of file ModelNode.cs.
override string SiliconStudio.Quantum.ModelNode.ToString | ( | ) |
Definition at line 107 of file ModelNode.cs.
|
get |
Definition at line 50 of file ModelNode.cs.
Referenced by SiliconStudio.Quantum.ModelConsistencyCheckVisitor.VisitObjectMember().
|
get |
Definition at line 53 of file ModelNode.cs.
|
getset |
Definition at line 44 of file ModelNode.cs.
Referenced by SiliconStudio.Quantum.ModelConsistencyCheckVisitor.Check(), and SiliconStudio.Quantum.ModelConsistencyCheckVisitor.VisitObjectMember().
|
getset |
Definition at line 41 of file ModelNode.cs.
|
getset |
Definition at line 38 of file ModelNode.cs.
|
getset |
Definition at line 47 of file ModelNode.cs.
Referenced by SiliconStudio.Quantum.ModelNode.AddChild().