view Agendas/trunk/src/Agendas.Google/IGCalendarAdapter.cs @ 202:a731086c0b28

Se soluciona ticket 174. Además se agrega detalle del campo Hora y Duración cuando son obligatorios en Resources.
author alabra
date Sat, 20 Aug 2011 18:40:36 -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);
    }
}