[longomatch/redesign3: 80/156] Mark the subcategories serializable
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch/redesign3: 80/156] Mark the subcategories serializable
- Date: Wed, 17 Aug 2011 22:22:55 +0000 (UTC)
commit 8d1f8f4b37e84c9f46754f856fd8ef25a70a07f1
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Tue Mar 15 23:53:27 2011 +0100
Mark the subcategories serializable
LongoMatch/Store/SubCategory.cs | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch/Store/SubCategory.cs b/LongoMatch/Store/SubCategory.cs
index ad6d2ba..90c4024 100644
--- a/LongoMatch/Store/SubCategory.cs
+++ b/LongoMatch/Store/SubCategory.cs
@@ -35,6 +35,7 @@ namespace LongoMatch.Store
/// A sub category with name Type and a list of options will be added to the
/// Goal category to extends its tags.
/// </summary>
+ [Serializable]
public class SubCategory
{
public SubCategory() {
@@ -84,6 +85,7 @@ namespace LongoMatch.Store
}
}
+ [Serializable]
public class TagSubCategory: SubCategory
{
public TagSubCategory() {
@@ -99,6 +101,7 @@ namespace LongoMatch.Store
/// <summary>
/// SubCategory to tag Players
/// </summary>
+ [Serializable]
public class PlayerSubCategory: SubCategory
{
public PlayerSubCategory() {
@@ -120,6 +123,7 @@ namespace LongoMatch.Store
/// <summary>
/// SubCategory to tag teams
/// </summary>
+ [Serializable]
public class TeamSubCategory: SubCategory
{
public TeamSubCategory() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]