view Agendas/trunk/src/Agendas.Configurations/GoogleConfigurationElement.cs @ 200:5346c0500594 deploy pre 1.0

Pasando a estructura de db fija, ya no se crea automáticamente. Se comenta lo referente a Patrocinadores que queda para alguna futura versión. Script para tablas de v1.0
author nelopauselli
date Wed, 17 Aug 2011 17:54:45 -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"]; }
		}
	}
}