Go to the documentation of this file.00001 using System;
00002
00003 namespace N2.Web.Mvc
00004 {
00005 [Obsolete("Use ContentViewUserControl<TModel, TItem>")]
00006 public class N2ModelViewUserControl<TModel, TItem> : ContentViewUserControl<TModel, TItem>, IItemContainer<TItem>
00007 where TModel : class, IItemContainer<TItem>
00008 where TItem : ContentItem
00009 {
00010 #region IItemContainer<TItem> Members
00011
00012 public TItem CurrentItem
00013 {
00014 get { return Content; }
00015 }
00016
00017 #endregion
00018 }
00019 }