[longomatch] Add override for ToString
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Add override for ToString
- Date: Fri, 17 Apr 2015 16:26:01 +0000 (UTC)
commit b14befc1689ee7ccaf27ee1e105d7ec584b1d401
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Tue Apr 14 13:37:11 2015 +0200
Add override for ToString
LongoMatch.Core/Store/ActionLink.cs | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch.Core/Store/ActionLink.cs b/LongoMatch.Core/Store/ActionLink.cs
index 50e83ad..47b9b4d 100644
--- a/LongoMatch.Core/Store/ActionLink.cs
+++ b/LongoMatch.Core/Store/ActionLink.cs
@@ -143,6 +143,11 @@ namespace LongoMatch.Core.Store
{
return !(l1 == l2);
}
+
+ public override string ToString ()
+ {
+ return string.Format ("{0} -> {1}", SourceButton, DestinationButton);
+ }
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]