Mercurial > altnet-hispano
diff Agendas/trunk/src/Agendas.Twitter/TwitterStringHelper.cs @ 231:e5959f3405e0
Eventos sin ponentes
author | nelopauselli |
---|---|
date | Wed, 28 Sep 2011 20:02:44 -0300 |
parents | c4c60e034103 |
children |
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Twitter/TwitterStringHelper.cs Wed Sep 28 19:19:33 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Twitter/TwitterStringHelper.cs Wed Sep 28 20:02:44 2011 -0300 @@ -20,9 +20,10 @@ } } - public static string Ponente(Persona ponente) + public static string Ponentes(Evento evento) { - return "@"+ponente.Twitter; + var ponentes = evento.GetPonentesAsString(p => "@" + p.Twitter); + return !string.IsNullOrWhiteSpace(ponentes) ? " con " + ponentes : string.Empty; } public static string Hora(DateTime fechaInicio)