//=============================================================================== // Goal Book. // Copyright � 2009 Mark Brownsword. //=============================================================================== #region Using Statements using System; using Csla; #endregion namespace GoalBook.Infrastructure { [Serializable] public sealed class KeyValueItemList : BusinessListBase<KeyValueItemList, KeyValueItem> { #region Constants and Enums #endregion #region Inner Classes and Structures #endregion #region Delegates and Events #endregion #region Instance and Shared Fields #endregion #region Constructors /// <summary> /// Constructor. /// </summary> public KeyValueItemList() { AllowEdit = AllowNew = AllowRemove = true; } #endregion #region Properties #endregion #region Private and Protected Methods #endregion #region Public and internal Methods #endregion #region Event Handlers #endregion #region Base Class Overrides /// <summary> /// AddNewCore. Initialises and adds a new item to the List. /// </summary> protected override object AddNewCore() { KeyValueItem item = new KeyValueItem(); Add(item); return item; } #endregion } }
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)