Mercurial > altnet-hispano
view Agendas/trunk/src/Agendas.Twitter/Writers/ConfirmarTwitterWriter.cs @ 234:cc71f96ac134
Combinar
author | juanjose.montesdeocaarbos |
---|---|
date | Tue, 04 Oct 2011 20:36:27 -0300 |
parents | e5959f3405e0 |
children |
line wrap: on
line source
using AltNetHispano.Agendas.Domain; namespace AltNetHispano.Agendas.Twitter.Writers { public class ConfirmarTwitterWriter : ITwitterWriter { public string[] Write(Track track) { { if (track.Evento.FechaInicio.HasValue) return new[] { "Se confirma para el " + track.Evento.FechaInicio.Value.ToShortDateString(), " el evento " + track.Evento.Titulo, TwitterHelper.GetPonentes(track.Evento) }; return new[] {string.Empty}; } } } }