[longomatch/redesign3: 134/143] Initialize SubCategory with the default values



commit 23d30e485f15aaf9c77016665e3302c692b12403
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]