Mercurial > altnet-hispano
view Agendas/trunk/src/Agendas.Twitter/Writers/ConfirmarTwitterWriter.cs @ 294:0e616662a94b
Added tag v1.1.0 for changeset 2cf7143586fe
author | nelopauselli |
---|---|
date | Fri, 17 Feb 2012 14:28:05 -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}; } } } }