[longomatch/redesign2: 69/140] Fix documentation of Play
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch/redesign2: 69/140] Fix documentation of Play
- Date: Tue, 24 May 2011 22:01:54 +0000 (UTC)
commit 2336890c16c4f3b36354494ab0ddd0302d4fd71a
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]