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

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

using AltNetHispano.Agendas.Domain;

namespace AltNetHispano.Agendas.Twitter.Writers
{
	public class ConfirmarTwitterWriter : ITwitterWriter
	{
		public string Write(Track track)
		{
			{
				if (track.Evento.Fecha.HasValue)
					return "Se confirma para el " + track.Evento.Fecha.Value.ToShortDateString() + " el evento " + track.Evento.Titulo +
						   " con " + TwitterHelper.GetPonente(track.Evento.Ponente);
				return string.Empty;
			}
		}
	}
}