[longomatch/redesign] Fix documentation of Play



commit d12a34eb06429567c4784e97b463ca2ee57affdf
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]