00001 #region License 00002 /* Copyright (C) Cristian Libardo 00003 * 00004 * This is free software; you can redistribute it and/or modify it 00005 * under the terms of the GNU Lesser General Public License as 00006 * published by the Free Software Foundation; either version 2.1 of 00007 * the License, or (at your option) any later version. 00008 * 00009 * This software is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00012 * Lesser General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU Lesser General Public 00015 * License along with this software; if not, write to the Free 00016 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 00017 * 02110-1301 USA, or see the FSF site:. 00018 */ 00019 #endregion 00020 00021 using System; 00022 00023 namespace N2 00024 { 00028 public class ItemEventArgs : EventArgs 00029 { 00030 private ContentItem affectedItem; 00031 00034 public ItemEventArgs(ContentItem item) 00035 { 00036 this.affectedItem = item; 00037 } 00038 00040 public ContentItem AffectedItem 00041 { 00042 get { return affectedItem; } 00043 set { affectedItem = value; } 00044 } 00045 } 00046 }