| |||||||||||||||||
| Source File | Conditionals | Statements | Methods | TOTAL | |||||||||||||
| Model\IXPercentMap.cs | - | - | - | - |
|
||||||||||||
| 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 | namespace ShowX.Model | |
| 25 | { | |
| 26 | /// <summary> | |
| 27 | /// IXPercentMap represent the interface of properties who show himself as a | |
| 28 | /// percent of another value. | |
| 29 | /// </summary> | |
| 30 | public interface IXPercentMap : IPropertyMap | |
| 31 | { | |
| 32 | /// <summary> | |
| 33 | /// Reflex the property who store the maximum value. | |
| 34 | /// </summary> | |
| 35 | string MaxPoperty | |
| 36 | { | |
| 37 | get; | |
| 38 | set; | |
| 39 | } | |
| 40 | ||
| 41 | /// <summary> | |
| 42 | /// Expose whether the property should be show like a percent. | |
| 43 | /// </summary> | |
| 44 | bool ShowLikePercent | |
| 45 | { | |
| 46 | get; | |
| 47 | set; | |
| 48 | } | |
| 49 | } | |
| 50 | } | |
| 51 |
|
||||||||