Mercurial > repos > IBBoard
comparison Limits/AbsoluteNumericLimit.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 | c3b217a708f4 |
children |
comparison
equal
deleted
inserted
replaced
56:1e5080813ac5 | 57:44bc5bd5c2f3 |
---|---|
7 namespace IBBoard.Limits | 7 namespace IBBoard.Limits |
8 { | 8 { |
9 /// <summary> | 9 /// <summary> |
10 /// A limit of a specified number that does not vary with the number it is limited against. | 10 /// A limit of a specified number that does not vary with the number it is limited against. |
11 /// </summary> | 11 /// </summary> |
12 public class AbsoluteNumericLimit : AbstractLimit | 12 public class AbsoluteNumericLimit : AbstractLimit, INumericLimit |
13 { | 13 { |
14 public AbsoluteNumericLimit (int numericLimit) : base(numericLimit) | 14 public AbsoluteNumericLimit (int numericLimit) : base(numericLimit) |
15 { | 15 { |
16 } | 16 } |
17 | 17 |