public void AddUnitBeforeNode(IRenderingNode unit, LinkedListNode<IRenderingNode> node)
 {
     if (node == null || unit == null)
         return;
     m_llRenderingNodeList.AddBefore(node, unit);
     unit.Initialize();
 }
 public void AddUnitAtLast(IRenderingNode unit)
 {
     if (unit == null)
         return;
     m_llRenderingNodeList.AddLast(unit);
     unit.Initialize();
 }
 public void AddCrucialUnitBeforeNode(string unitName, IRenderingNode unit, LinkedListNode<IRenderingNode> node)
 {
     if (node == null || unit == null)
         return;
     LinkedListNode<IRenderingNode> newUnit = new LinkedListNode<IRenderingNode>(unit);
     m_dicCrucialNodes.Add(unitName, newUnit);
     m_llRenderingNodeList.AddBefore(node, newUnit);
     unit.Initialize();
 }
 public void AddCrucialUnitAtLast(string unitName, IRenderingNode unit)
 {
     if (unit == null)
         return;
     LinkedListNode<IRenderingNode> newUnit = new LinkedListNode<IRenderingNode>(unit);
     m_dicCrucialNodes.Add(unitName, newUnit);
     m_llRenderingNodeList.AddLast(newUnit);
     unit.Initialize();
 }