[longomatch/redesign2: 145/159] Initialize SubCategory with the default values



commit c1b025c3bd485cb7f5107a4bec68aa0bcf6c8e30
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Thu Apr 28 20:53:18 2011 +0200

    Initialize SubCategory with the default values

 LongoMatch/Store/SubCategory.cs |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch/Store/SubCategory.cs b/LongoMatch/Store/SubCategory.cs
index 2e34d66..de95a04 100644
--- a/LongoMatch/Store/SubCategory.cs
+++ b/LongoMatch/Store/SubCategory.cs
@@ -41,7 +41,11 @@ namespace LongoMatch.Store
 	[Serializable]
 	public class SubCategory<T>: List<T>, ISubCategory
 	{
-		public SubCategory() {}
+		public SubCategory() {
+			Name = "";
+			AllowMultiple = true;
+			FastTag = true;
+		}
 
 		public SubCategory(IEnumerable<T> list): base(list) {}
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]