[longomatch] Fix coordinates serialization
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Fix coordinates serialization
- Date: Fri, 14 Jun 2013 10:17:33 +0000 (UTC)
commit 0ff4a12c803e986b4745e0ee99f8cf086ea77837
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Thu Jun 13 22:24:07 2013 +0200
Fix coordinates serialization
LongoMatch.Core/Common/Coordinates.cs | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch.Core/Common/Coordinates.cs b/LongoMatch.Core/Common/Coordinates.cs
index 474e9f3..c644d6a 100644
--- a/LongoMatch.Core/Common/Coordinates.cs
+++ b/LongoMatch.Core/Common/Coordinates.cs
@@ -20,6 +20,7 @@ using System.Collections.Generic;
namespace LongoMatch.Common
{
+ [Serializable]
public class Coordinates: List<Point>
{
public Coordinates ()
@@ -54,6 +55,7 @@ namespace LongoMatch.Common
}
}
+ [Serializable]
public class Point {
public Point (int x, int y) {
X = x;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]