[longomatch/redesign3: 69/156] Fix documentation of Play
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch/redesign3: 69/156] Fix documentation of Play
- Date: Wed, 17 Aug 2011 22:21:59 +0000 (UTC)
commit 64a020c9ab1a39091730cc9743904d136eed3960
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]