view Agendas/trunk/src/Agendas.Configurations/GoogleConfigurationElement.cs @ 216:8a8c35302b81

Merge
author nelopauselli
date Mon, 05 Sep 2011 20:43:32 -0300
parents fe47f11f5f20
children
line wrap: on
line source

using System.Configuration;

namespace AltNetHispano.Agendas.Configurations
{
	public class GoogleConfigurationElement : ConfigurationElement
	{
		[ConfigurationProperty("calendar")]
		public CalendarConfigurationElement Calendar
		{
			get { return base["calendar"] as CalendarConfigurationElement; }
		}

		[ConfigurationProperty("shorten")]
		public ShortenConfigurationElement Shorten
		{
			get { return base["shorten"] as ShortenConfigurationElement; }
		}
		[ConfigurationProperty("enabled")]
		public bool Enabled
		{
			get { return (bool) base["enabled"]; }
		}
	}
}