Mercurial > altnet-hispano
comparison Agendas/trunk/src/Agendas.Twitter/Writers/ProponerTwitterWriter.cs @ 234:cc71f96ac134
Combinar
author | juanjose.montesdeocaarbos |
---|---|
date | Tue, 04 Oct 2011 20:36:27 -0300 |
parents | 9f61e8555114 |
children |
comparison
equal
deleted
inserted
replaced
233:32e4e0e7a140 | 234:cc71f96ac134 |
---|---|
2 | 2 |
3 namespace AltNetHispano.Agendas.Twitter.Writers | 3 namespace AltNetHispano.Agendas.Twitter.Writers |
4 { | 4 { |
5 public class ProponerTwitterWriter : ITwitterWriter | 5 public class ProponerTwitterWriter : ITwitterWriter |
6 { | 6 { |
7 public string Write(Track track) | 7 public string[] Write(Track track) |
8 { | 8 { |
9 var sust = track.Evento.Tipo == TipoEvento.Van ? "una nueva VAN" : "un nuevo " + track.Evento.Tipo; | 9 var sust = track.Evento.Tipo == TipoEvento.Van ? "una nueva VAN" : "un nuevo " + track.Evento.Tipo; |
10 return "Se ha propuesto " + sust + " sobre " + track.Evento.Titulo; | 10 return new[] {"Se ha propuesto " + sust, " sobre " + track.Evento.Titulo}; |
11 } | 11 } |
12 } | 12 } |
13 } | 13 } |