view Agendas/trunk/src/Agendas.Google/IGEventDetail.cs @ 214:7d838e7d83b3

Se soluciona ticket 176. Se agrega validación para que no se pueda agendar otro evento con el mismo título, buscando los eventos que no estén en estado propuesto.
author alabra
date Wed, 24 Aug 2011 19:49:18 -0300
parents 0ea32a748453
children
line wrap: on
line source

using System;
using AltNetHispano.Agendas.Domain;

namespace AltNetHispano.Agendas.Google
{
    public interface IGEventDetail
    {
        /// <summary>
        /// Title of the Event
        /// </summary>
        string Title { get; }
        /// <summary>
        /// Place of the event
        /// </summary>
        string Location { get; }
        /// <summary>
        /// Description of the event
        /// </summary>
        string Summary { get; }
        /// <summary>
        /// Date and Time of event start
        /// </summary>
        DateTime StartEvent { get; }
        /// <summary>
        /// Date and Time of event end
        /// </summary>
        DateTime EndEvent { get; }
        
        /// <summary>
        /// Setting the details of the properties depending on the event.
        /// </summary>
        /// <param name="evento"></param>
        void Generate(Evento evento);
    }
}