comparison api/Objects/Category.cs @ 305:92d10b06ab0f

Fixes #62: Delete obsolete methods * All obsolete methods deleted. No other changes required - usage had already been phased out. Also: * Add app.config to appease VS.Net
author IBBoard <dev@ibboard.co.uk>
date Wed, 26 Jan 2011 20:27:50 +0000
parents 2f3cafb69799
children
comparison
equal deleted inserted replaced
304:1e82cac3716d 305:92d10b06ab0f
19 private int maxPc = 100; 19 private int maxPc = 100;
20 20
21 21
22 public Category(string id, string name) : base(id, name) 22 public Category(string id, string name) : base(id, name)
23 { 23 {
24 }
25
26 [Obsolete("Use the two argument constructor and the appropriate 'set' methods")]
27 public Category(string id, string name, int minPoints, int maxPoints, int minPercent, int maxPercent, int minChoices, int maxChoices, int baseValue, int incrementValue, int incrementAmount) : base(id, name)
28 {
29 MinimumPoints = minPoints;
30 MaximumPoints = maxPoints;
31 MinimumPercentage = minPercent;
32 MaximumPercentage = maxPercent;
33 } 24 }
34 25
35 protected override string DefaultName() 26 protected override string DefaultName()
36 { 27 {
37 return ""; 28 return "";