diff Agendas/trunk/src/Agendas.Twitter/Writers/TwitterHelper.cs @ 231:e5959f3405e0

Eventos sin ponentes
author nelopauselli
date Wed, 28 Sep 2011 20:02:44 -0300
parents 33976aea7546
children
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Twitter/Writers/TwitterHelper.cs	Wed Sep 28 19:19:33 2011 -0300
+++ b/Agendas/trunk/src/Agendas.Twitter/Writers/TwitterHelper.cs	Wed Sep 28 20:02:44 2011 -0300
@@ -6,7 +6,8 @@
 	{
 		public static string GetPonentes(Evento evento)
 		{
-			return evento.GetPonentesAsString(GetPonente);
+			var ponentes = evento.GetPonentesAsString(GetPonente);
+			return !string.IsNullOrWhiteSpace(ponentes) ? " con " + ponentes : string.Empty;
 		}
 
 		private static string GetPonente(Persona ponente)