view Agendas/trunk/src/Agendas.Configurations/GoogleConfigurationElement.cs @ 179:1deccd6c3cb2

Aplicando seguridad x roles en sitio web
author nelopauselli
date Mon, 08 Aug 2011 15:24:26 -0300
parents 734d3f0853bf
children fe47f11f5f20
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("enabled")]
		public bool Enabled
		{
			get { return (bool) base["enabled"]; }
		}
	}
}