SetChild() public method

public SetChild ( IContainer child ) : void
child IContainer
return void
 public IContainer Process(XmlNode node, Action<UserInterfaceBehaviourEvent, object> eventCallback, out Action<XmlNode, IContainer> processChild)
 {
     var canvas = new CanvasFragment();
     processChild = (childNode, childContainer) =>
     {
         canvas.SetChild(childContainer);
     };
     return canvas;
 }
        public IContainer Process(XmlNode node, Action <UserInterfaceBehaviourEvent, object> eventCallback, out Action <XmlNode, IContainer> processChild)
        {
            var canvas = new CanvasFragment();

            processChild = (childNode, childContainer) =>
            {
                canvas.SetChild(childContainer);
            };
            return(canvas);
        }