Ejemplo n.º 1
0
        //----------------------------------------------------------------------
        // Unique Private helper methods
        //----------------------------------------------------------------------


        public static DeathNode Attach(object pObj)
        {
            DeathManager pMan = DeathManager.privGetInstance();

            DeathNode pNode = (DeathNode)pMan.baseAddToFront();

            Debug.Assert(pNode != null);

            Debug.Assert(pObj != null);
            pNode.Set(pObj);
            return(pNode);
        }