view Agendas/trunk/src/Agendas.Google/IGCalendarAdapter.cs @ 130:0ea32a748453

Se termina el publicador via el calendario de google, además se realizan las pruebas unitarias.
author alabra
date Sun, 10 Jul 2011 18:50:11 -0400
parents 34b2f85aecab
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);
    }
}