view Agendas/trunk/src/Agendas.Google/IGCalendarAdapter.cs @ 198:cd96cfc8a1f5

Se agrega la fecha de termino a Google Calendar.
author alabra
date Mon, 15 Aug 2011 15:35:17 -0400
parents 0ea32a748453
children
line wrap: on
line source

using System;

namespace AltNetHispano.Agendas.Google
{
    /// <summary>
    /// Adapter connect to GCalendar
    /// </summary>
    public interface IGCalendarAdapter
    {
        /// <summary>
        /// Method to insert new calendar event
        /// </summary>
        /// <param name="gEventDetail">Detail of the event</param>
        /// <param name="message">Detail of the execution of the method</param>
        bool CreateEvent(IGEventDetail gEventDetail, out string message);
        /// <summary>
        /// Method to delete calendar event, searching by 
        /// start and end date and time the event.
        /// </summary>
        /// <param name="startEvent">Date and Time of event start to search</param>
        /// <param name="endEvent">Date and Time of event end to search</param>
        /// <param name="message">Detail of the execution of the method</param>
        bool DeleteEvent(DateTime startEvent, DateTime endEvent, out string message);
    }
}