Axiom.Components.Paging.PagedWorldSection.AttachPage C# (CSharp) Method

AttachPage() public method

Attach a page to this section.
public AttachPage ( Page page ) : void
page Page
return void
        public virtual void AttachPage(Page page)
        {
            if (mPages.ContainsKey(page.PageID))
            {
                //page with this id allready in map
                Page existingPage;
                mPages.TryGetValue(page.PageID,out existingPage);

                if (existingPage != page)
                {
                    Manager.Queue.CancelOperationsForPage(existingPage);
                    mPages.Remove(existingPage.PageID);
                    existingPage = null;
                }
            }
            page.NotifyAttached(this);
        }
        /// <summary>