[longomatch] Add a new Image field to the analysis templates



commit cb2371ec398bb6469d934a29fc70fb7c83d81383
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Sat Mar 22 00:37:27 2014 +0100

    Add a new Image field to the analysis templates

 LongoMatch.Core/Store/Category.cs                  |    1 +
 .../Store/Templates/CategoriesTemplate.cs          |    7 +++++++
 2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch.Core/Store/Category.cs b/LongoMatch.Core/Store/Category.cs
index b3248e0..a1145f3 100644
--- a/LongoMatch.Core/Store/Category.cs
+++ b/LongoMatch.Core/Store/Category.cs
@@ -27,6 +27,7 @@ using Newtonsoft.Json;
 
 using LongoMatch.Common;
 using LongoMatch.Interfaces;
+using Image = LongoMatch.Common.Image;
 
 namespace LongoMatch.Store
 {
diff --git a/LongoMatch.Core/Store/Templates/CategoriesTemplate.cs 
b/LongoMatch.Core/Store/Templates/CategoriesTemplate.cs
index 3ec13d9..d2fc345 100644
--- a/LongoMatch.Core/Store/Templates/CategoriesTemplate.cs
+++ b/LongoMatch.Core/Store/Templates/CategoriesTemplate.cs
@@ -85,6 +85,13 @@ namespace LongoMatch.Store.Templates
                        set;
                }
                
+               public Image Image {
+                       get;
+                       set;
+               }
+               
+
+               
                /* Keep this for backwards compatiblity with 0.18.11 */
                [JsonIgnore]
                public Image FieldBackgroundImage {get; set;}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]