1
/* Copyright (c) 2006 Google Inc.
3
* Licensed under the Apache License, Version 2.0 (the "License");
4
* you may not use this file except in compliance with the License.
5
* You may obtain a copy of the License at
7
* http://www.apache.org/licenses/LICENSE-2.0
9
* Unless required by applicable law or agreed to in writing, software
10
* distributed under the License is distributed on an "AS IS" BASIS,
11
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
* See the License for the specific language governing permissions and
13
* limitations under the License.
17
using System.Collections;
20
using Google.GData.Client;
21
using Google.GData.Extensions;
23
namespace Google.GData.Calendar
27
//////////////////////////////////////////////////////////////////////
29
/// This is the Google Calendar feed that lets you access and manage
30
/// the calendars you own and also lets you subscribe or
31
/// unsubscribe from calendars owned by others.
33
//////////////////////////////////////////////////////////////////////
34
public class CalendarFeed : AbstractFeed
38
/// default constructor
40
/// <param name="uriBase">the base URI of the feedEntry</param>
41
/// <param name="iService">the Service to use</param>
42
public CalendarFeed(Uri uriBase, IService iService) : base(uriBase, iService)
47
/// This needs to get implemented by subclasses
49
/// <returns>AtomEntry</returns>
50
public override AtomEntry CreateFeedEntry()
52
return new CalendarEntry();
56
/// Is called after we already handled the custom entry, to handle all
57
/// other potential parsing tasks
59
/// <param name="e"></param>
60
/// <param name="parser">the atom feed parser used</param>
61
protected override void HandleExtensionElements(ExtensionElementEventArgs e, AtomFeedParser parser)
63
base.HandleExtensionElements(e, parser);