[longomatch] Obsolete TeamTemplate and error out when used
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Obsolete TeamTemplate and error out when used
- Date: Wed, 18 Mar 2015 14:47:50 +0000 (UTC)
commit 61a4034d235a82601aab1fc96acf6d3b628cd5dc
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Wed Mar 18 13:01:52 2015 +0100
Obsolete TeamTemplate and error out when used
LongoMatch.Core/Store/Templates/Team.cs | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch.Core/Store/Templates/Team.cs b/LongoMatch.Core/Store/Templates/Team.cs
index 208248e..85de971 100644
--- a/LongoMatch.Core/Store/Templates/Team.cs
+++ b/LongoMatch.Core/Store/Templates/Team.cs
@@ -252,6 +252,8 @@ namespace LongoMatch.Core.Store.Templates
}
}
+ /* Keep this for backwards compatibility importing old project files */
+ [Obsolete ("Use Team instead of TeamTeamplate in new code", true)]
public class TeamTemplate: Team
{
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]