view Agendas/trunk/src/Agendas.Google/IGCalendarAdapter.cs @ 182:beeb48ddb44a

Warning con los errores que se guarden en el log del track de un evento durante una notificación (twitter, calendar, blog)
author nelopauselli
date Mon, 08 Aug 2011 21:57:10 -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);
    }
}