[longomatch/redesign: 70/96] Fix documentation of Play



commit e86764867c9b9027871e97fbd9e8abba03db9862
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Mon Jan 31 22:03:27 2011 +0100

    Fix documentation of Play

 LongoMatch/Store/Play.cs |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch/Store/Play.cs b/LongoMatch/Store/Play.cs
index 4c7283d..5760cca 100644
--- a/LongoMatch/Store/Play.cs
+++ b/LongoMatch/Store/Play.cs
@@ -51,7 +51,7 @@ namespace LongoMatch.Store
 		public Category Category {get; set;}
 		
 		/// <summary>
-		/// A strng with the play's notes
+		/// A string with the play's notes
 		/// </summary>
 		public string Notes {get; set;}
 
@@ -174,6 +174,18 @@ namespace LongoMatch.Store
 				Tags.Remove(tag);
 		}
 		
+		/// <summary>
+		/// Return True if the play contains a similar tag 
+		/// </summary>
+		/// <param name="name">
+		/// A <see cref="String"/> with the tag name
+		/// </param>
+		/// <param name="val">
+		/// A <see cref="System.Object"/> with tag value
+		/// </param>
+		/// <returns>
+		/// A <see cref="System.Boolean"/>
+		/// </returns>
 		public bool HasTag(String name, object val) {
 			return  (from tag in Tags
 					where (tag.Name == (string)name) && (tag.Value == val) 



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