Mercurial > altnet-hispano
comparison Agendas/trunk/src/Agendas.Twitter/Writers/ConfirmarTwitterWriter.cs @ 122:17531db40d4e
Refactoring de la generación de mensajes en twitter
author | nelopauselli |
---|---|
date | Tue, 28 Jun 2011 19:25:22 -0300 |
parents | |
children | f8568f01da4d |
comparison
equal
deleted
inserted
replaced
121:683cc27450ce | 122:17531db40d4e |
---|---|
1 using AltNetHispano.Agendas.Domain; | |
2 | |
3 namespace AltNetHispano.Agendas.Twitter.Writers | |
4 { | |
5 public class ConfirmarTwitterWriter : ITwitterWriter | |
6 { | |
7 public string Write(Track track) | |
8 { | |
9 { | |
10 if (track.Evento.Fecha.HasValue) | |
11 return "Se confirma para el " + track.Evento.Fecha.Value.ToShortDateString() + " el evento " + track.Evento.Titulo; | |
12 return string.Empty; | |
13 } | |
14 } | |
15 } | |
16 } |