Esempio n. 1
0
 /// <summary>
 ///     Gets the child objects read from a child block.
 /// </summary>
 /// <param name="source">The block that the children belong to.</param>
 /// <returns>The child objects of the block.</returns>
 public ScriptObject[] GetChildren(ScriptObjectTagBlock source)
 {
     return(_children[source]);
 }
Esempio n. 2
0
 /// <summary>
 ///     Registers a child block with this block.
 /// </summary>
 /// <param name="child">The child block to register.</param>
 public void RegisterChild(ScriptObjectTagBlock child)
 {
     _children.Add(child);
 }
Esempio n. 3
0
 /// <summary>
 ///     Registers an array of child objects with the object.
 /// </summary>
 /// <param name="source">The block that the children belong to.</param>
 /// <param name="children">The child objects.</param>
 public void RegisterChildren(ScriptObjectTagBlock source, ScriptObject[] children)
 {
     _children[source] = children;
 }