On Tue, Jan 12, 2010 at 4:53 AM, Ryan Medlin <[email protected]> wrote:

>        public virtual void AddContentPage(ContentPage contentPage)
>        {
>            contentPage.ContentItem = this;
>            ...
>            this.ContentPages.Add(contentPage);
>        }
>
>        public virtual void RemoveContentPage(ContentPage contentPage)
>        {
>            this.ContentPages.Remove(contentPage);
>            ...
>        }




In RemoveContentPage(), shouldn't you dereference the
contentPage.ContentItem by setting it to null?





-- 
Regards,

Maximilian Haru Raditya
--
You received this message because you are subscribed to the Google Groups "nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.

Reply via email to