コード例 #1
0
 /// <summary>
 /// Adds the BuildObject to an IParent object
 /// </summary>
 /// <param name="parent">Parent object</param>
 /// <param name="child">Child object</param>
 protected static void LinkToParent( IParent parent, object child )
 {
     parent.AddChild( child );
     //	NOTE: It's the responsibility of IParent.AddChild() to call IChild.AddedToParent()
 }