| |||||||||||||||||
| Source File | Conditionals | Statements | Methods | TOTAL | |||||||||||||
| Model\AttributeModel\AttributeObjectHandlerInfo.cs | - | 0,0 % | 0,0 % | 0,0 % |
|
||||||||||||
| 1 | #region Copyright | |
| 2 | /* | |
| 3 | ShowX. Maps business objects into presentation layer. | |
| 4 | Copyright (C) 2005 Jesus Diaz. | |
| 5 | ||
| 6 | This library is free software; you can redistribute it and/or | |
| 7 | modify it under the terms of the GNU Lesser General Public | |
| 8 | License as published by the Free Software Foundation; either | |
| 9 | version 2.1 of the License, or (at your option) any later version. | |
| 10 | ||
| 11 | This library is distributed in the hope that it will be useful, | |
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 14 | Lesser General Public License for more details. | |
| 15 | ||
| 16 | You should have received a copy of the GNU Lesser General Public | |
| 17 | License along with this library; if not, write to the Free Software | |
| 18 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. | |
| 19 | ||
| 20 | For project details see: http://showx.sourceforge.net | |
| 21 | */ | |
| 22 | #endregion | |
| 23 | ||
| 24 | using System; | |
| 25 | ||
| 26 | namespace ShowX.Model.AttributeModel | |
| 27 | { | |
| 28 | /// <summary> | |
| 29 | /// AttributeObjectHandlerInfo implements IObjectHandlerInfo as a class custom | |
| 30 | /// attribute. | |
| 31 | /// </summary> | |
| 32 | [AttributeUsage(AttributeTargets.Class)] | |
| 33 | public class AttributeObjectHandlerInfo : Attribute, IObjectHandlerInfo | |
| 34 | { | |
| 35 | /// <summary> | |
| 36 | /// Type of associated object handler. | |
| 37 | /// </summary> | |
| 38 | protected Type type; | |
| 39 | ||
| 40 | #region IObjectHandlerInfo Members | |
| 41 | ||
| 42 | /// <summary> | |
| 43 | /// Property Type retrieve object handler type associated to this | |
| 44 | /// ObjectHandlerInfo. | |
| 45 | /// </summary> | |
| 46 | 0 | public Type Type |
| 47 | { | |
| 48 | get { return type; } | |
| 49 | set { this.type = value; } | |
| 50 | } | |
| 51 | ||
| 52 | #endregion | |
| 53 | } | |
| 54 | } | |
| 55 |
|
||||||||