Mercurial > altnet-hispano
comparison Agendas/trunk/src/Agendas.Twitter/Writers/PublicarTwitterWriter.cs @ 234:cc71f96ac134
Combinar
author | juanjose.montesdeocaarbos |
---|---|
date | Tue, 04 Oct 2011 20:36:27 -0300 |
parents | e5959f3405e0 |
children |
comparison
equal
deleted
inserted
replaced
233:32e4e0e7a140 | 234:cc71f96ac134 |
---|---|
1 using AltNetHispano.Agendas.Domain; | 1 using System; |
2 using AltNetHispano.Agendas.Domain; | |
2 | 3 |
3 namespace AltNetHispano.Agendas.Twitter.Writers | 4 namespace AltNetHispano.Agendas.Twitter.Writers |
4 { | 5 { |
5 public class PublicarTwitterWriter : ITwitterWriter | 6 public class PublicarTwitterWriter : ITwitterWriter |
6 { | 7 { |
7 public string Write(Track track) | 8 public string[] Write(Track track) |
8 { | 9 { |
9 return "Se ha publicado el video del evento " + track.Evento.Titulo + " con " + TwitterHelper.GetPonente(track.Evento.Ponente); | 10 return new[] |
11 { | |
12 "Se ha publicado el video del evento " + track.Evento.Titulo, | |
13 TwitterHelper.GetPonentes(track.Evento) | |
14 }; | |
10 } | 15 } |
11 } | 16 } |
12 } | 17 } |