view Agendas/trunk/src/Agendas.Twitter/Writers/ConfirmarTwitterWriter.cs @ 205:cfefc8a2ebc2

Added tag deploy pre 1.0 for changeset 5346c0500594
author nelopauselli
date Wed, 24 Aug 2011 10:19:48 -0300
parents 2d02adb79322
children 9f61e8555114
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.FechaInicio.HasValue)
					return "Se confirma para el " + track.Evento.FechaInicio.Value.ToShortDateString() + " el evento " + track.Evento.Titulo +
						   " con " + TwitterHelper.GetPonente(track.Evento.Ponente);
				return string.Empty;
			}
		}
	}
}