comparison Agendas/trunk/src/Agendas.Google/IGCalendarAdapter.cs @ 125:34b2f85aecab

Se crea adaptador para conectar con Google Calendar, además de crear funcionalidad para insertar y eliminar un evento en el calendario de google. Se agregan package de nuget para el trabajo con Google Calendar.
author alabra
date Tue, 28 Jun 2011 23:32:52 -0400
parents
children 0ea32a748453
comparison
equal deleted inserted replaced
124:35498fb9b59b 125:34b2f85aecab
1 using System;
2
3 namespace AltNetHispano.Agendas.Google
4 {
5 /// <summary>
6 /// Adapter connect to GCalendar
7 /// </summary>
8 public interface IGCalendarAdapter
9 {
10 /// <summary>
11 /// Method to insert new calendar event
12 /// </summary>
13 /// <param name="title">Title of the Event</param>
14 /// <param name="startEvent">Date and Time of event start</param>
15 /// <param name="endEvent">Date and Time of event end</param>
16 /// <param name="location">Place of the event</param>
17 /// <param name="summary">Description of the event</param>
18 void CreateEvent(string title, DateTime startEvent, DateTime endEvent, String location, String summary);
19 /// <summary>
20 /// Method to delete calendar event, searching by
21 /// start and end date and time the event.
22 /// </summary>
23 /// <param name="startEvent">Date and Time of event start to search</param>
24 /// <param name="endEvent">Date and Time of event end to search</param>
25 void DeleteEvent(DateTime startEvent, DateTime endEvent);
26 }
27 }