[longomatch/redesign2: 52/140] Remove unused methods



commit a2adefc753bc6e2e95d38f0b94757f84ebaed77e
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Thu Jan 27 01:15:32 2011 +0100

    Remove unused methods

 LongoMatch/Store/Templates/CategoriesTemplate.cs |   73 ----------------------
 1 files changed, 0 insertions(+), 73 deletions(-)
---
diff --git a/LongoMatch/Store/Templates/CategoriesTemplate.cs b/LongoMatch/Store/Templates/CategoriesTemplate.cs
index 46b9bf8..c382ae7 100644
--- a/LongoMatch/Store/Templates/CategoriesTemplate.cs
+++ b/LongoMatch/Store/Templates/CategoriesTemplate.cs
@@ -102,79 +102,6 @@ namespace LongoMatch.Store.Templates
 			}
 		}
 
-		/// <summary>
-		/// Retrieves a category at a given index
-		/// </summary>
-		/// <param name="section">
-		/// A <see cref="System.Int32"/>: position of the category to retrieve
-		/// </param>
-		/// <returns>
-		/// A <see cref="SectionsTimeNode"/>: category retrieved
-		/// </returns>
-		public Category GetCategoryAtPos(int pos) {
-			return categoriesList[pos];
-		}
-
-		/// <summary>
-		/// Returns an array if strings with the categories names
-		/// </summary>
-		/// <returns>
-		/// A <see cref="System.String"/>
-		/// </returns>
-		public List<string> GetSectionsNames() {
-			return (from c in categoriesList
-			        orderby c.Position
-			        select c.Name).ToList();
-		}
-
-		/// <summary>
-		/// Returns an array of the categories' color
-		/// </summary>
-		/// <returns>
-		/// A <see cref="Color"/>
-		/// </returns>
-		public List<Color> GetColors() {
-			return (from c in categoriesList
-			        orderby c.Position
-			        select c.Color).ToList();
-		}
-
-		/// <summary>
-		/// Return an array of the hotkeys for this template
-		/// </summary>
-		/// <returns>
-		/// A <see cref="HotKey"/>
-		/// </returns>
-		public List<HotKey> GetHotKeys() {
-			return (from c in categoriesList
-			        orderby c.Position
-			        select c.HotKey).ToList();
-		}
-
-		/// <summary>
-		/// Returns an array with the default start times
-		/// </summary>
-		/// <returns>
-		/// A <see cref="Time"/>
-		/// </returns>
-		public List<Time> GetSectionsStartTimes() {
-			return (from c in categoriesList
-			        orderby c.Position
-			        select c.Start).ToList();
-		}
-
-		/// <summary>
-		/// Returns an array with the defaul stop times
-		/// </summary>
-		/// <returns>
-		/// A <see cref="Time"/>
-		/// </returns>
-		public List<Time> GetSectionsStopTimes() {
-			return (from c in categoriesList
-			        orderby c.Position
-			        select c.Stop).ToList();
-		}
-		
 		public void Save(string filePath){
 			Save(this, filePath);
 		}



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