view Agendas/trunk/src/Agendas.Google/IGCalendarAdapter.cs @ 288:a6037c6c88d8

Se soluciona bug #198 Bug: Summary incorrecto en Google Calendar. Se parametriza la hora en el mensaje.
author user@MECHUQUE
date Mon, 30 Jan 2012 01:52:47 -0300
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);
    }
}