Mercurial > repos > IBBoard
diff Limits/SimpleRoundedPercentageLimit.cs @ 57:44bc5bd5c2f3
Re #24: Add limit objects
* Create base interface
* Create marker interface for percentage and numeric limits
* Make classes implement appropriate interfaces
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 24 Oct 2009 15:42:05 +0000 |
parents | 9a0009bc4455 |
children | 0e64a120785f |
line wrap: on
line diff
--- a/Limits/SimpleRoundedPercentageLimit.cs Sat Oct 24 15:33:00 2009 +0000 +++ b/Limits/SimpleRoundedPercentageLimit.cs Sat Oct 24 15:42:05 2009 +0000 @@ -10,7 +10,7 @@ /// <summary> /// A percentage-based limit that always either rounds up or down to the closest integer /// </summary> - public class SimpleRoundedPercentageLimit : AbstractLimit + public class SimpleRoundedPercentageLimit : AbstractLimit, IPercentageLimit { private bool roundUp;