Example #1
0
 internal GoNodeNodeEnumerator(GoNode n, GoNode.Search s)
 {
     myNode   = n;
     mySearch = s;
     myArray  = null;
     myIndex  = -1;
     Reset();
 }
Example #2
0
        /// <summary>
        /// Make sure cached information is not copied.
        /// </summary>
        /// <param name="env"></param>
        /// <returns></returns>
        public override GoObject CopyObject(GoCopyDictionary env)
        {
            GoNode goNode = (GoNode)base.CopyObject(env);

            if (goNode != null)
            {
                goNode.myPartID = -1;
            }
            return(goNode);
        }