view Agendas/trunk/src/Agendas.Twitter/Writers/ProponerTwitterWriter.cs @ 176:c58d26b15759

Merge
author nelopauselli
date Mon, 08 Aug 2011 10:13:46 -0300
parents f8568f01da4d
children 9f61e8555114
line wrap: on
line source

using AltNetHispano.Agendas.Domain;

namespace AltNetHispano.Agendas.Twitter.Writers
{
	public class ProponerTwitterWriter : ITwitterWriter
	{
		public string Write(Track track)
		{
			var sust = track.Evento.Tipo == TipoEvento.Van ? "una nueva VAN" : "un nuevo " + track.Evento.Tipo;
			return "Se ha propuesto " + sust + " sobre " + track.Evento.Titulo;
		}
	}
}