[longomatch/redesign2: 81/140] Mark the subcategories serializable
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch/redesign2: 81/140] Mark the subcategories serializable
- Date: Tue, 24 May 2011 22:02:55 +0000 (UTC)
commit e57591909d29a7652628f84ef8c58cd9433f7282
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]