Mercurial > altnet-hispano
view Agendas/trunk/src/Agendas.Twitter/Writers/AgendarTwitterWriter.cs @ 205:cfefc8a2ebc2
Added tag deploy pre 1.0 for changeset 5346c0500594
author | nelopauselli |
---|---|
date | Wed, 24 Aug 2011 10:19:48 -0300 |
parents | 2d02adb79322 |
children | 9f61e8555114 |
line wrap: on
line source
using System; using AltNetHispano.Agendas.Domain; namespace AltNetHispano.Agendas.Twitter.Writers { public class AgendarTwitterWriter : ITwitterWriter { public string Write(Track track) { var body = "Se ha agendando el evento " + track.Evento.Titulo; body += " con " + TwitterHelper.GetPonente(track.Evento.Ponente); if (track.Evento.FechaInicio.HasValue) body += " para el " + track.Evento.FechaInicio.Value.ToShortDateString(); return body; } } }