Mercurial > altnet-hispano
diff Agendas/trunk/src/Agendas.Twitter/TwitterStringHelper.cs @ 234:cc71f96ac134
Combinar
author | juanjose.montesdeocaarbos |
---|---|
date | Tue, 04 Oct 2011 20:36:27 -0300 |
parents | e5959f3405e0 |
children |
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Twitter/TwitterStringHelper.cs Tue Oct 04 20:34:46 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Twitter/TwitterStringHelper.cs Tue Oct 04 20:36:27 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)